lint-staged 10.0.0-beta.1
v10.0.0-beta.15 - 08 Jan 2020
Features
BREAKING CHANGES
- Previously, lint-staged would allow empty commits in the situation where a linter task like "prettier --write" reverts all staged changes automatically. Now the default behaviour is to throw an error with a helpful warning message. The --allow empty option can be used to allow empty commits, or
allowEmpty: truefor the Node.js API.