How to skip regex engine for a single file/line? #1905
Answered
by
stephen-carter-at-sf
augustoZaelot
asked this question in
Q&A
|
I'm currently having one issue with an obsolete flow that is on the api version 49. This triggers the regex error regex:AvoidOldSalesforceApiVersions. Any idea? |
Answered by
stephen-carter-at-sf
Oct 28, 2025
Replies: 1 comment
|
We are in the process of designing suppression mechanisms to add to Code Analyzer this year. For now, you can just remove the 'Recommended' tag from this rule using your code-analyzer.yml file so that the rule doesn't get selected using the default 'Recommended' --rule-selector. To add rule overrides to your config file, see https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/config-custom.html |
0 replies
Answer selected by
augustoZaelot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are in the process of designing suppression mechanisms to add to Code Analyzer this year.
For now, you can just remove the 'Recommended' tag from this rule using your code-analyzer.yml file so that the rule doesn't get selected using the default 'Recommended' --rule-selector.
To add rule overrides to your config file, see https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/config-custom.html