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
New: Add no-error-on-unmatched-pattern flag (fixes #10587) #12377
Conversation
Add flag to prevent errors when a pattern or --ext is not matched
@ncraley, can you solve the conflicts here, please? I'm not a maintainer, but I think this may help get this merged soon. cc @kaicataldo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry this fell through the cracks. Thanks for the ping!
Pending resolving the merge conflicts, this LGTM, though I’d love another pair of eyes on this.
@arthurdenner thanks, I'll knock out those conflicts tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for contributing!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofixing to a rule
[x] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:
Fixes #10587
What changes did you make? (Give an overview)
Added a flag to prevent errors when an unquoted glob pattern or --ext is not matched.
Is there anything you'd like reviewers to focus on?
I still need to confirm behavior when combined with other CLI options (and possibly add tests for that), but wanted to go ahead and put this out for initial feedback.