Upcoming Rule Deactivations: 4 Rules Retiring on the 27th of December 2026
How to check if you're affected
Navigate to Quality Profiles in CodeScan.
Look for rules highlighted in red next to the overall rule count within each profile.
Open any flagged rule to see its specific deactivation reason and recommended replacement.
Rules being deactivated
1. Disallow octal escape sequences in string literals
Key: cs-vf:no-octal-escape
Language: Visual Force & Lightning
Type: Code Smell
Why it's flagged As of the ECMAScript 5 specification, octal escape sequences in string literals are deprecated and should not be used. Unicode escape sequences should be used instead.
Reason for deactivation
This rule has been deprecated due to these types of octal escapes being caught by the Javascript parser before a rule can be fired. Please make sure you have the the cs-js:exception rule in your javascript Quality Profile to be made aware of these errors.
2. Disallow octal escape sequences in string literals
Key: cs-js:no-octal-escape
Language: JavaScript
Type: Code Smell
Why it's flagged As of the ECMAScript 5 specification, octal escape sequences in string literals are deprecated and should not be used. Unicode escape sequences should be used instead.
Reason for deactivation
This rule has been deprecated due to these types of octal escapes being caught by the Javascript parser before a rule can be fired. Please make sure you have the the cs-js:exception rule in your javascript Quality Profile to be made aware of these errors.
3. Disallow irregular whitespace outside of strings and comments
Key: cs-vf:no-irregular-whitespace
Language: Visual Force & Lightning
Type: Code Smell
Why it's flagged Invalid or irregular whitespace causes issues with ECMAScript 5 parsers and also makes code harder to debug in a similar nature to mixed tabs and spaces.
Reason for deactivation
This rule has been deprecated due to these types of white space being caught by the Javascript parser before a rule can be fired. Please make sure you have the the cs-js:exception rule in your javascript Quality Profile to be made aware of these errors.
4. Disallow irregular whitespace outside of strings and comments
Key: cs-js:no-irregular-whitespace
Language: JavaScript
Type: Code Smell
Why it's flagged Invalid or irregular whitespace causes issues with ECMAScript 5 parsers and also makes code harder to debug in a similar nature to mixed tabs and spaces.
Reason for deactivation
This rule has been deprecated due to these types of white space being caught by the Javascript parser before a rule can be fired. Please make sure you have the the cs-js:exception rule in your javascript Quality Profile to be made aware of these errors.
Quick reference table
Disallow octal escape sequences in string literals
cs-vf:no-octal-escape
cs-js:exception
Disallow octal escape sequences in string literals
cs-js:no-octal-escape
cs-js:exception
Disallow irregular whitespace outside of strings and comments
cs-vf:no-irregular-whitespace
cs-js:exception
Disallow irregular whitespace outside of strings and comments
cs-js:no-irregular-whitespace
cs-js:exception
What you need to do
Check your Quality Profiles for any of the five rules listed above.
If found, remove the deprecated rule and add its corresponding replacement rule.
Re-run your analysis to confirm the new rule is active and behaving as expected.
Last updated
Was this helpful?

