We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There are new versions of lint-staged available from npm.
Requires Node.js v6 or later.
Remove implicit support for running npm scripts.
Consider example lint-staged config:
lint-staged
{ "name": "My project", "version": "0.1.0", "scripts": { "my-custom-script": "linter --arg1 --arg2", "precommit": "lint-staged" }, "lint-staged": { "*.js": ["my-custom-script", "git add"] } }
The list of commands should be changed to the following:
"*.js": ["npm run my-custom-script --", "git add"]
The following minimatch options are not supported in micromatch:
minimatch
micromatch
nocomment
flipnegate
The text was updated successfully, but these errors were encountered:
6.1.1
7.0.0
Hypnosphi
No branches or pull requests
There are new versions of lint-staged available from npm.
7.0.0
7.0.0 (2018-02-21)
Bug Fixes
Code Refactoring
Features
Performance Improvements
BREAKING CHANGES
Requires Node.js v6 or later.
Remove implicit support for running npm scripts.
Consider example
lint-staged
config:The list of commands should be changed to the following:
The following
minimatch
options are not supported inmicromatch
:nocomment
: https://github.com/isaacs/minimatch#nocommentflipnegate
: https://github.com/isaacs/minimatch#flipnegateThe text was updated successfully, but these errors were encountered: