10.0.0-beta.15 (2020-01-08)
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: true
for the Node.js API.