Enhanced filter capabilities #1152
brynary
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Via @rebeccafae -- It would be valuable to enhance qlty check --filter to support more syntaxes:
Analyze for one specific check:
# Any rubocop checks matching *RSpec/ContextWording* qlty check --filter=rubcop:RSpec/ContextWording [FILE_OR_DIRECTORY]
Analyze for a wildcard match against checks:
# Any rubocop checks matching *Lint* qlty check --filter=rubcop:Lint [FILE_OR_DIRECTORY]
(We can default to substring matching against rule keys)
Multiple filters
# Any rubocop checks matching *Lint* or *RSpec* qlty check --filter=rubcop:{Lint,RSpec}
Braces can be used to denote grouping in order to differentiate from matching against other plugin names:
# All rubocop and eslint checks qlty check --filter=rubcop,eslint
Beta Was this translation helpful? Give feedback.
All reactions