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
fix: do not ignore incorrect patterns with braces of single value #992
Merged
Commits on Jul 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e093494 - Browse repository at this point
Copy the full SHA e093494View commit details -
fix: correctly handle incorrect patterns with braces of only single v…
…alue Technically brace patterns like `*.{js}` are invalid because braces should always contain at least one comma or a sequence, for example `*.{js,ts}` or `file{1..10}.js`. The `micromatch` library used to match patterns to files will silently ignore such invalid braces and thus lead to the pattern always matching zero files. This is a unintuitive, so lint-staged should normalize such cases by simply removing the unnecessary braces before matching files.
Configuration menu - View commit details
-
Copy full SHA for e6c62de - Browse repository at this point
Copy the full SHA e6c62deView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf6acdc - Browse repository at this point
Copy the full SHA cf6acdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 799f55a - Browse repository at this point
Copy the full SHA 799f55aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 80fb012 - Browse repository at this point
Copy the full SHA 80fb012View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40682e9 - Browse repository at this point
Copy the full SHA 40682e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f527a25 - Browse repository at this point
Copy the full SHA f527a25View commit details -
Configuration menu - View commit details
-
Copy full SHA for dac0151 - Browse repository at this point
Copy the full SHA dac0151View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d381a4 - Browse repository at this point
Copy the full SHA 6d381a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 995913b - Browse repository at this point
Copy the full SHA 995913bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a167697 - Browse repository at this point
Copy the full SHA a167697View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dbaa29 - Browse repository at this point
Copy the full SHA 7dbaa29View commit details -
Configuration menu - View commit details
-
Copy full SHA for f538361 - Browse repository at this point
Copy the full SHA f538361View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23ef46b - Browse repository at this point
Copy the full SHA 23ef46bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 665ac50 - Browse repository at this point
Copy the full SHA 665ac50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 640e58e - Browse repository at this point
Copy the full SHA 640e58eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51a63ea - Browse repository at this point
Copy the full SHA 51a63eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for e195b6a - Browse repository at this point
Copy the full SHA e195b6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87219a5 - Browse repository at this point
Copy the full SHA 87219a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 089e683 - Browse repository at this point
Copy the full SHA 089e683View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bd598f - Browse repository at this point
Copy the full SHA 2bd598fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ae8143 - Browse repository at this point
Copy the full SHA 4ae8143View commit details
Commits on Aug 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c9a24ce - Browse repository at this point
Copy the full SHA c9a24ceView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.