chore(deps): update dependency lint-staged to v7 #124
Merged
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.
This Pull Request updates dependency lint-staged from
v6.1.1tov7.0.0Release Notes
v7.0.0Bug Fixes
Code Refactoring
Features
Performance Improvements
BREAKING CHANGES
Requires Node.js v6 or later.
Remove implicit support for running npm scripts.
Consider example
lint-stagedconfig:{ "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:
The following
minimatchoptions are not supported inmicromatch:nocomment: https://github.com/isaacs/minimatch#nocommentflipnegate: https://github.com/isaacs/minimatch#flipnegateCommits
v7.0.0
6ace14eci: Whitelist thenextbranch5a333a0perf: Switch from minimatch to micromatch (#388)d8b836cfeat: Remove support for npm scripts (#390)05a062drefactor: Drop support for Node.js 4 (#399)267ff0ffix(package): Bump dependenciesThis PR has been generated by Renovate Bot.