Skip to content

How can we scan for only specific set of severity levels in v5? #1804

Answered by johnbelosf
vc4u asked this question in Q&A
Discussion options

You must be logged in to vote

You can add multiple properties to our --rule-selector flag, including multiple different severity levels.

For example:
sf code-analyzer rules --rule-selector=1,2,3 (which you can also use in the run command)

You can also use combinations e.g. --rule-selector=pmd:1,Custom:2 (engines, tags, etc.)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vc4u
Comment options

Answer selected by vc4u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants