How to skip regex engine for a single file/line? #1905
-
|
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? |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
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