You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to an issue that you encountered with Salesforce Code Analyzer?
Yes.
Describe the solution that you want:
If I have two engines, I can only specify the severity level once for all engines. It would be helpful to have a more granular on specifying severity levels for each engine:
Current situation: sf scanner:run --format 'json' --engine 'eslint,pmd' --outfile 'build/reports/codeanalyzer.json' --severity-threshold '3' --target ./test/resources/force-app/
Is your feature request related to an issue that you encountered with Salesforce Code Analyzer?
Yes.
Describe the solution that you want:
If I have two engines, I can only specify the severity level once for all engines. It would be helpful to have a more granular on specifying severity levels for each engine:
Current situation:
sf scanner:run --format 'json' --engine 'eslint,pmd' --outfile 'build/reports/codeanalyzer.json' --severity-threshold '3' --target ./test/resources/force-app/
Ideally something like this:
sf scanner:run --format 'json' --engine 'eslint,pmd' --outfile 'build/reports/codeanalyzer.json' --severity-threshold '[3,2]' --target ./test/resources/force-app/
Notice that eslint has severity level 3, while pmd has severity level 2.
Describe alternatives that you've considered:
N/A
Additional Context:
N/A
Workaround:
I just run the commands individually for now.
Urgency:
Nice to have
The text was updated successfully, but these errors were encountered: