v7.0.0
7.0.0 (2018-02-21)
Bug Fixes
- package: Bump dependencies (267ff0f)
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:{ "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 inmicromatch
: