Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] multi --severity-level option #1327

Open
aman-mehta-sf opened this issue Jan 18, 2024 · 1 comment
Open

[Feature Request] multi --severity-level option #1327

aman-mehta-sf opened this issue Jan 18, 2024 · 1 comment
Labels
Roadmap This item is available in our roadmap USER STORY New feature or request

Comments

@aman-mehta-sf
Copy link

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

@aman-mehta-sf aman-mehta-sf added the USER STORY New feature or request label Jan 18, 2024
Copy link

git2gus bot commented Jan 18, 2024

This issue has been linked to a new work item: W-14845936

@johnbelosf johnbelosf added the Roadmap This item is available in our roadmap label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Roadmap This item is available in our roadmap USER STORY New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants