Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
typicode/husky
### [`v8.0.1`](https://togithub.com/typicode/husky/releases/tag/v8.0.1)
[Compare Source](https://togithub.com/typicode/husky/compare/v8.0.0...v8.0.1)
- fix: use POSIX equality operator
### [`v8.0.0`](https://togithub.com/typicode/husky/releases/tag/v8.0.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v7.0.4...v8.0.0)
#### What's Changed
##### Feats
- feat: add `husky -` prefix to logged global error messages by [@joshbalfour](https://togithub.com/joshbalfour) in [https://github.com/typicode/husky/pull/1092](https://togithub.com/typicode/husky/pull/1092)
- feat: show `PATH` when command not found to improve debuggability
- feat: drop Node 12 support
- feat: skip install if `$HUSKY=0`
##### Fixes
- fix: hook script use `/usr/bin/env sh` instead of direct path of `sh` by [@skhaz](https://togithub.com/skhaz) in [https://github.com/typicode/husky/pull/1051](https://togithub.com/typicode/husky/pull/1051)
- fix: actually set 'husky_skip_init' as readonly in `./husky.sh` by [@hyperupcall](https://togithub.com/hyperupcall) in [https://github.com/typicode/husky/pull/1104](https://togithub.com/typicode/husky/pull/1104)
- fix: force `basename`/`dirname` to treat `$0` as an argument by [@mataha](https://togithub.com/mataha) in [https://github.com/typicode/husky/pull/1132](https://togithub.com/typicode/husky/pull/1132)
- fix: remove `git.io` links by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/typicode/husky/pull/1136](https://togithub.com/typicode/husky/pull/1136)
##### Docs
- docs: fix uninstall via npm by [@pddpd](https://togithub.com/pddpd) in [https://github.com/typicode/husky/pull/1033](https://togithub.com/typicode/husky/pull/1033)
- docs: add dog emoji as favicon by [@jamiehaywood](https://togithub.com/jamiehaywood) in [https://github.com/typicode/husky/pull/1095](https://togithub.com/typicode/husky/pull/1095)
- docs: replace deprecated `npx --no-install` option with `npx --no` by [@sibiraj-s](https://togithub.com/sibiraj-s) in [https://github.com/typicode/husky/pull/1070](https://togithub.com/typicode/husky/pull/1070)
- docs: add `pnpm` installation by [@MohamadKh75](https://togithub.com/MohamadKh75) in [https://github.com/typicode/husky/pull/1139](https://togithub.com/typicode/husky/pull/1139)
##### Chore
- chore: update workflows by [@tiziodcaio](https://togithub.com/tiziodcaio) in [https://github.com/typicode/husky/pull/1125](https://togithub.com/typicode/husky/pull/1125)
### [`v7.0.4`](https://togithub.com/typicode/husky/releases/tag/v7.0.4)
[Compare Source](https://togithub.com/typicode/husky/compare/v7.0.3...v7.0.4)
*No changes. Husky v7.0.3 was reverted, this version is the same as v7.0.2.*
### [`v7.0.3`](https://togithub.com/typicode/husky/compare/v7.0.2...v7.0.3)
[Compare Source](https://togithub.com/typicode/husky/compare/v7.0.2...v7.0.3)
### [`v7.0.2`](https://togithub.com/typicode/husky/releases/tag/v7.0.2)
[Compare Source](https://togithub.com/typicode/husky/compare/v7.0.1...v7.0.2)
Fix pre-commit hook in WebStorm ([#1023](https://togithub.com/typicode/husky/issues/1023))
### [`v7.0.1`](https://togithub.com/typicode/husky/releases/tag/v7.0.1)
[Compare Source](https://togithub.com/typicode/husky/compare/v7.0.0...v7.0.1)
- Fix gracefully fail if Git command is not found [#1003](https://togithub.com/typicode/husky/issues/1003) (same as in v6)
### [`v7.0.0`](https://togithub.com/typicode/husky/releases/tag/v7.0.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v6.0.0...v7.0.0)
- Improve `.husky/` directory structure. **`.husky/.gitignore` is now unnecessary and can be removed**.
- Improve error output (shorter)
- Update [`husky-init`](https://togithub.com/typicode/husky-init) CLI
- Update [`husky-4-to-7`](https://togithub.com/typicode/husky-4-to-7) CLI
- Drop Node 10 support
*Please help me develop and release OSS projects :heart: on [GitHub Sponsors](https://togithub.com/sponsors/typicode) or [Open Collective](https://opencollective.com/husky). Thank you for your support!*
### [`v6.0.0`](https://togithub.com/typicode/husky/releases/tag/v6.0.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.2.0...v6.0.0)
After being in early access for Open Source projects and Sponsors for a limited time, **I'm happy to announce that husky 6 is MIT again** and can be freely used in commercial projects! 🎉
**Many thanks to the [Open Source projects](https://typicode.github.io/husky/#/?id=used-by) and Companies which have switched to/sponsored the new husky during this period!**
*OSS is my full-time job, please consider sponsoring the development of husky on [GitHub sponsors](https://togithub.com/sponsors/typicode) or [Open Collective](https://opencollective.com/husky). Thank you!*
### Breaking change
- `husky init` has been moved to its own package (`npx husky-init`)
### Added
- Programmatically use husky: `require('husky')`
- TypeScript definitions
### Migrating from husky 4
Husky 6 contains breaking changes. If you're coming from v4, `npm install husky@6` won't be enough.
**Recommended:** see [husky-4-to-6](https://typicode.github.io/husky/#/?id=husky-4-to-6-cli) CLI to automatically migrate your config. There's also a dedicated section in the [docs](https://typicode.github.io/husky/#/?id=migrate-from-v4-to-v6).
**If you're curious why config has changed, you may be interested in reading:**
https://blog.typicode.com/husky-git-hooks-javascript-config/
**Also Husky 6 follows official [npm](https://docs.npmjs.com/cli/v7/using-npm/scripts#best-practices) and [Yarn](https://yarnpkg.com/advanced/lifecycle-scripts#a-note-about-postinstall) best practices regarding autoinstall.** It's recommended to use `prepare` script instead (see [usage](https://typicode.github.io/husky/#/?id=usage) in docs).
### [`v5.2.0`](https://togithub.com/typicode/husky/releases/tag/v5.2.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.1.3...v5.2.0)
- Add `set` command to replace hooks (`husky set .husky/pre-commit cmd`)
- Update `add` command to append command (`husky add .husky/pre-commit cmd`)
- Improve error messages
### [`v5.1.3`](https://togithub.com/typicode/husky/releases/tag/v5.1.3)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.1.2...v5.1.3)
- docs: add specific Yarn v2 install/uninstall instructions
- cli: `husky init` will detect Yarn v2 and initialize accordingly
### [`v5.1.2`](https://togithub.com/typicode/husky/releases/tag/v5.1.2)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.1.1...v5.1.2)
- docs: recommend `prepare` script instead of `postinstall` ([#890](https://togithub.com/typicode/husky/issues/890))
- cli: `husky init` use `prepare` script ([#890](https://togithub.com/typicode/husky/issues/890))
### [`v5.1.1`](https://togithub.com/typicode/husky/releases/tag/v5.1.1)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.1.0...v5.1.1)
- style(shell): add trailing newlines ([#870](https://togithub.com/typicode/husky/issues/870))
- fix(init): update package.json postinstall
### [`v5.1.0`](https://togithub.com/typicode/husky/releases/tag/v5.1.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.0.9...v5.1.0)
- Add `husky init`
### [`v5.0.9`](https://togithub.com/typicode/husky/releases/tag/v5.0.9)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.0.8...v5.0.9)
- fix(install): do not fail if not inside a Git directory (closes [#851](https://togithub.com/typicode/husky/issues/851))
See https://github.com/typicode/husky/releases/tag/v5.0.0 for v5 release notes
### [`v5.0.8`](https://togithub.com/typicode/husky/releases/tag/v5.0.8)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.0.7...v5.0.8)
- fix(install): better handle Git <2.9 ([#846](https://togithub.com/typicode/husky/issues/846)) closes [#844](https://togithub.com/typicode/husky/issues/844)
### [`v5.0.7`](https://togithub.com/typicode/husky/releases/tag/v5.0.7)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.0.6...v5.0.7)
- fix(shell): double quote params ([#824](https://togithub.com/typicode/husky/issues/824))
### [`v5.0.6`](https://togithub.com/typicode/husky/releases/tag/v5.0.6)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.0.5...v5.0.6)
- Remove unused files
### [`v5.0.5`](https://togithub.com/typicode/husky/releases/tag/v5.0.5)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.0.4...v5.0.5)
- Fix custom directory support [#827](https://togithub.com/typicode/husky/issues/827)
### [`v5.0.4`](https://togithub.com/typicode/husky/compare/v5.0.3...v5.0.4)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.0.3...v5.0.4)
### [`v5.0.3`](https://togithub.com/typicode/husky/compare/v5.0.2...v5.0.3)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.0.2...v5.0.3)
### [`v5.0.2`](https://togithub.com/typicode/husky/compare/v5.0.1...v5.0.2)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.0.1...v5.0.2)
### [`v5.0.1`](https://togithub.com/typicode/husky/compare/v5.0.0...v5.0.1)
[Compare Source](https://togithub.com/typicode/husky/compare/v5.0.0...v5.0.1)
### [`v5.0.0`](https://togithub.com/typicode/husky/releases/tag/v5.0.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.3.8...v5.0.0)
👉 See https://typicode.github.io/husky for breaking changes and new installation instructions.
#### Note about the license
Husky 5 is released under The Parity Public License.
It doesn't affect you if you're using husky in an Open Source project or if you're a sponsor. You're free to use it as usual and I hope you'll enjoy this new release ❤️
If you're using husky in a commercial project, you may want to consider becoming a sponsor to support the project. You can also try it for 30 days.
**This is only for a limited time, husky will be MIT again later.**
#### Migrating
**Important** Husky v5 brings a lot of improvements but is also very different from v4. Git hooks won't work if you only upgrade husky dependency, existing config needs to be migrated too.
The best way to switch to v5 is to follow the new installation instructions and migrate existing hooks command using `husky add`.
### [`v4.3.8`](https://togithub.com/typicode/husky/releases/tag/v4.3.8)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.3.7...v4.3.8)
- Fix `Cannot read property 'toString' of null`
- Improve error messages
### [`v4.3.7`](https://togithub.com/typicode/husky/releases/tag/v4.3.7)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.3.6...v4.3.7)
- Fix: upgrade find-versions to 4.0.0 [https://github.com/typicode/husky/pull/837](https://togithub.com/typicode/husky/pull/837)
### [`v4.3.6`](https://togithub.com/typicode/husky/releases/tag/v4.3.6)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.3.5...v4.3.6)
- Fix `prepare-commit-msg` on windows [#737](https://togithub.com/typicode/husky/issues/737)
### [`v4.3.5`](https://togithub.com/typicode/husky/releases/tag/v4.3.5)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.3.4...v4.3.5)
- Rollback and do not throw error if husky install fails
### [`v4.3.4`](https://togithub.com/typicode/husky/releases/tag/v4.3.4)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.3.3...v4.3.4)
- Throw error if husky install fails
- Add workaround for npm 7 currently missing `INIT_CWD` environment variable
### [`v4.3.3`](https://togithub.com/typicode/husky/compare/v4.3.2...v4.3.3)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.3.2...v4.3.3)
### [`v4.3.2`](https://togithub.com/typicode/husky/compare/v4.3.1...v4.3.2)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.3.1...v4.3.2)
### [`v4.3.1`](https://togithub.com/typicode/husky/compare/v4.3.0...v4.3.1)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.3.0...v4.3.1)
### [`v4.3.0`](https://togithub.com/typicode/husky/releases/tag/v4.3.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.2.5...v4.3.0)
- Add `.cjs` config file support [#754](https://togithub.com/typicode/husky/issues/754)
### [`v4.2.5`](https://togithub.com/typicode/husky/releases/tag/v4.2.5)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.2.4...v4.2.5)
- Fix wrong error message [#709](https://togithub.com/typicode/husky/issues/709)
- Update dependencies [#710](https://togithub.com/typicode/husky/issues/710)
### [`v4.2.4`](https://togithub.com/typicode/husky/releases/tag/v4.2.4)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.2.3...v4.2.4)
- When Node version is unsupported, log actual version in addition to the error message [#701](https://togithub.com/typicode/husky/issues/701)
- Fix: support `cnpm` package manager [#687](https://togithub.com/typicode/husky/issues/687)
- Fix: always use `sh` to run scripts and avoid inconsistencies [#707](https://togithub.com/typicode/husky/issues/707)
- Fix: don't throw error if files are already removed during uninstall [#708](https://togithub.com/typicode/husky/issues/708)
### [`v4.2.3`](https://togithub.com/typicode/husky/releases/tag/v4.2.3)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.2.2...v4.2.3)
- Fix: check for `husky.config.js` not `.huskyrc.config.js` [#669](https://togithub.com/typicode/husky/issues/669)
### [`v4.2.2`](https://togithub.com/typicode/husky/releases/tag/v4.2.2)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.2.1...v4.2.2)
- Fix [#662](https://togithub.com/typicode/husky/issues/662) disable fast-skip heuristic for `.husky.js` and `.husky.config.js`
- Fix do not install `update`, `pre/post-receive` hooks
### [`v4.2.1`](https://togithub.com/typicode/husky/releases/tag/v4.2.1)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.2.0...v4.2.1)
- Fix: support spaces in path to husky.local.sh [#658](https://togithub.com/typicode/husky/issues/658)
### [`v4.2.0`](https://togithub.com/typicode/husky/releases/tag/v4.2.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.1.0...v4.2.0)
- Check Git version during install and log an error if it's `<2.13.0`
### [`v4.1.0`](https://togithub.com/typicode/husky/releases/tag/v4.1.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.0.10...v4.1.0)
- Improve speed and refactor hooks
### [`v4.0.10`](https://togithub.com/typicode/husky/compare/v4.0.9...v4.0.10)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.0.9...v4.0.10)
### [`v4.0.9`](https://togithub.com/typicode/husky/releases/tag/v4.0.9)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.0.8...v4.0.9)
- Fix: read stdin from hook script ([#645](https://togithub.com/typicode/husky/issues/645))
### [`v4.0.8`](https://togithub.com/typicode/husky/compare/v4.0.7...v4.0.8)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.0.7...v4.0.8)
### [`v4.0.7`](https://togithub.com/typicode/husky/releases/tag/v4.0.7)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.0.6...v4.0.7)
- Fix: Yarn when running inside `winpty` ([#634](https://togithub.com/typicode/husky/issues/634))
### [`v4.0.6`](https://togithub.com/typicode/husky/releases/tag/v4.0.6)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.0.5...v4.0.6)
- Revert change in v4.0.5
### [`v4.0.5`](https://togithub.com/typicode/husky/releases/tag/v4.0.5)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.0.4...v4.0.5)
- Fix: use process.exit if install fails [#633](https://togithub.com/typicode/husky/issues/633)
### [`v4.0.4`](https://togithub.com/typicode/husky/releases/tag/v4.0.4)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.0.3...v4.0.4)
- Fix: npm ignore `.eslintrc.js` ([#627](https://togithub.com/typicode/husky/issues/627))
### [`v4.0.3`](https://togithub.com/typicode/husky/releases/tag/v4.0.3)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.0.2...v4.0.3)
- Fix: error message if trying to install in a non-git repo ([#627](https://togithub.com/typicode/husky/issues/627))
### [`v4.0.2`](https://togithub.com/typicode/husky/releases/tag/v4.0.2)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.0.1...v4.0.2)
- Fix: show error message when hook fails
### [`v4.0.1`](https://togithub.com/typicode/husky/releases/tag/v4.0.1)
[Compare Source](https://togithub.com/typicode/husky/compare/v4.0.0...v4.0.1)
- Fix: make Yarn silent. When Husky was installed with Yarn 1.21.1, hooks output was too verbose ([#626](https://togithub.com/typicode/husky/issues/626)).
### [`v4.0.0`](https://togithub.com/typicode/husky/releases/tag/v4.0.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v3.1.0...v4.0.0)
- Support `Yarn v2` new Plug'n'Play feature (thanks to [@arcanis](https://togithub.com/arcanis))
- Improve path handling on Windows (in particular with `Cygwin` and `Cmdr`)
- Remove `dependencies` and simplify code
- **Breaking** requires `Node 10+`
**Thanks to all contributors and everyone who is supporting Husky on [Open Collective](https://opencollective.com/husky), [GitHub sponsors](https://togithub.com/sponsors/typicode) and [Patreon](https://www.patreon.com/typicode)!**
### [`v3.1.0`](https://togithub.com/typicode/husky/releases/tag/v3.1.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v3.0.9...v3.1.0)
- Add `pre-merge-commit` hook ([#605](https://togithub.com/typicode/husky/issues/605))
### [`v3.0.9`](https://togithub.com/typicode/husky/releases/tag/v3.0.9)
[Compare Source](https://togithub.com/typicode/husky/compare/v3.0.8...v3.0.9)
- Reduce dependencies: replace `is-ci` with `ci-info` [#579](https://togithub.com/typicode/husky/issues/579)
### [`v3.0.8`](https://togithub.com/typicode/husky/releases/tag/v3.0.8)
[Compare Source](https://togithub.com/typicode/husky/compare/v3.0.7...v3.0.8)
- Fix: git worktree support [#580](https://togithub.com/typicode/husky/issues/580)
- Debug: check `GIT_DIR` environment variable when hooks are run
### [`v3.0.7`](https://togithub.com/typicode/husky/releases/tag/v3.0.7)
[Compare Source](https://togithub.com/typicode/husky/compare/v3.0.6...v3.0.7)
Debug: display husky version and created at
### [`v3.0.6`](https://togithub.com/typicode/husky/releases/tag/v3.0.6)
[Compare Source](https://togithub.com/typicode/husky/compare/v3.0.5...v3.0.6)
Debug: improve messages
### [`v3.0.5`](https://togithub.com/typicode/husky/releases/tag/v3.0.5)
[Compare Source](https://togithub.com/typicode/husky/compare/v3.0.4...v3.0.5)
Fix: prevent `postinstall` from failing on windows [https://github.com/typicode/husky/pull/573](https://togithub.com/typicode/husky/pull/573)
### [`v3.0.4`](https://togithub.com/typicode/husky/releases/tag/v3.0.4)
[Compare Source](https://togithub.com/typicode/husky/compare/v3.0.3...v3.0.4)
Fix: skip install earlier when `HUSKY_SKIP_INSTALL=1` ([https://github.com/typicode/husky/issues/563](https://togithub.com/typicode/husky/issues/563))
### [`v3.0.3`](https://togithub.com/typicode/husky/releases/tag/v3.0.3)
[Compare Source](https://togithub.com/typicode/husky/compare/v3.0.2...v3.0.3)
Fix: prevent old hooks (husky `< 1.0`) to be run if new ones are defined (husky `>= 1.0` ) [https://github.com/typicode/husky/issues/556](https://togithub.com/typicode/husky/issues/556)
### [`v3.0.2`](https://togithub.com/typicode/husky/releases/tag/v3.0.2)
[Compare Source](https://togithub.com/typicode/husky/compare/v3.0.1...v3.0.2)
- Fix: add shebang to run.js ([#528](https://togithub.com/typicode/husky/issues/528))
### [`v3.0.1`](https://togithub.com/typicode/husky/releases/tag/v3.0.1)
[Compare Source](https://togithub.com/typicode/husky/compare/v3.0.0...v3.0.1)
- Improve error message if git command fails
### [`v3.0.0`](https://togithub.com/typicode/husky/releases/tag/v3.0.0)
[Compare Source](https://togithub.com/typicode/husky/compare/df97af21254ca033a05346df3deb61c046b9ea12...v3.0.0)
- Fix HUSKY_SKIP_INSTALL=1 not skipping install
- **Breaking change** husky requires now Git `>= 2.13.2`. If you're already using husky `v2` and don't use an old version of Git, you can safely upgrade.
### [`v2.7.0`](https://togithub.com/typicode/husky/compare/v2.6.0...df97af21254ca033a05346df3deb61c046b9ea12)
[Compare Source](https://togithub.com/typicode/husky/compare/v2.6.0...df97af21254ca033a05346df3deb61c046b9ea12)
### [`v2.6.0`](https://togithub.com/typicode/husky/compare/v2.5.0...v2.6.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v2.5.0...v2.6.0)
### [`v2.5.0`](https://togithub.com/typicode/husky/compare/v2.4.1...v2.5.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v2.4.1...v2.5.0)
### [`v2.4.1`](https://togithub.com/typicode/husky/compare/v2.4.0...v2.4.1)
[Compare Source](https://togithub.com/typicode/husky/compare/v2.4.0...v2.4.1)
### [`v2.4.0`](https://togithub.com/typicode/husky/compare/v2.3.0...v2.4.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v2.3.0...v2.4.0)
### [`v2.3.0`](https://togithub.com/typicode/husky/compare/v2.2.0...v2.3.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v2.2.0...v2.3.0)
### [`v2.2.0`](https://togithub.com/typicode/husky/compare/v2.1.0...v2.2.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v2.1.0...v2.2.0)
### [`v2.1.0`](https://togithub.com/typicode/husky/compare/v2.0.0...v2.1.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v2.0.0...v2.1.0)
### [`v2.0.0`](https://togithub.com/typicode/husky/compare/v1.3.1...v2.0.0)
[Compare Source](https://togithub.com/typicode/husky/compare/v1.3.1...v2.0.0)
okonet/lint-staged
### [`v13.0.3`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.3)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.0.2...v13.0.3)
##### Bug Fixes
- correctly handle git stash when using MSYS2 ([#1178](https://togithub.com/okonet/lint-staged/issues/1178)) ([0d627a5](https://togithub.com/okonet/lint-staged/commit/0d627a52846d63cd6fc6018a8d7779ef454a99b2))
### [`v13.0.2`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.0.1...v13.0.2)
##### Bug Fixes
- use new `--diff` and `--diff-filter` options when checking task modifications ([1a5a66a](https://togithub.com/okonet/lint-staged/commit/1a5a66a9574e2a8b857bd62545a6f2a6da5811aa))
### [`v13.0.1`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.0.0...v13.0.1)
##### Bug Fixes
- correct spelling of "0 files" ([f27f1d4](https://togithub.com/okonet/lint-staged/commit/f27f1d45ea20904e81dda155a802b2eb07d50942))
- suppress error from `process.kill` when killing tasks on failure ([f2c6bdd](https://togithub.com/okonet/lint-staged/commit/f2c6bdd9114a8d5ba8473cc647ef55a6ee5664e1))
- **deps:** update pidtree@^0.6.0 to fix screen size error in WSL ([1a77e42](https://togithub.com/okonet/lint-staged/commit/1a77e4224a273bbc192b654d0a0120187e850a61))
- ignore "No matching pid found" error ([cb8a432](https://togithub.com/okonet/lint-staged/commit/cb8a4328eddbc99a0806276f68b55f6c5ecb3d8a))
- prevent possible race condition when killing tasks on failure ([bc92aff](https://togithub.com/okonet/lint-staged/commit/bc92aff5fdb6293045c556326df3c0529e59b7e3))
##### Performance Improvements
- use `EventsEmitter` instead of `setInterval` for killing tasks on failure ([c508b46](https://togithub.com/okonet/lint-staged/commit/c508b46a153970114495d3f7fef05d45df0f2e10))
### [`v13.0.0`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.5.0...v13.0.0)
##### Bug Fixes
- **deps:** update `execa@^6.1.0` ([659c85c](https://togithub.com/okonet/lint-staged/commit/659c85c5cd4c4040a505bbe9fddbe7d416ac15c8))
- **deps:** update `yaml@^2.1.1` ([2750a3d](https://togithub.com/okonet/lint-staged/commit/2750a3d9d909fd834b95da752f0f6800340922b7))
##### Features
- remove support for Node.js 12 ([5fb6df9](https://togithub.com/okonet/lint-staged/commit/5fb6df94ccd6de6f5fdd743474c094ff366cc671))
##### BREAKING CHANGES
- `lint-staged` will no longer support Node.js 12, which is EOL since 30 April 2022
### [`v12.5.0`](https://togithub.com/okonet/lint-staged/releases/tag/v12.5.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.4.3...v12.5.0)
##### Bug Fixes
- include all files when using `--config ` ([641d1c2](https://togithub.com/okonet/lint-staged/commit/641d1c2fd00992e926ae07defbb98c4d324f3b13))
- skip backup stash when using the `--diff` option ([d4da24d](https://togithub.com/okonet/lint-staged/commit/d4da24d90cfa85ef8589a5f8c6ba5f51c3b45275))
##### Features
- add `--diff-filter` option for overriding list of (staged) files ([753ef72](https://togithub.com/okonet/lint-staged/commit/753ef7281562e0a25a9fe01400d7108143116b39))
- add `--diff` option for overriding list of (staged) files ([35fcce9](https://togithub.com/okonet/lint-staged/commit/35fcce9040c8de2926a9113d09f13517e6b23a2e))
### [`v12.4.3`](https://togithub.com/okonet/lint-staged/releases/tag/v12.4.3)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.4.2...v12.4.3)
##### Bug Fixes
- **deps:** downgrade yaml@1.10.2 to support Node.js 12 ([383a96e](https://togithub.com/okonet/lint-staged/commit/383a96e17a21d10278e91ecdb8d80385886ce82f))
- **deps:** update commander@^9.2.0 ([22ebf52](https://togithub.com/okonet/lint-staged/commit/22ebf524e20b2bf239e22fab83df3edc76327394))
- **deps:** update yaml@^2.0.1 ([ec73af0](https://togithub.com/okonet/lint-staged/commit/ec73af0ddb3541f5a12e0c83b6112ab747d05d73))
### [`v12.4.2`](https://togithub.com/okonet/lint-staged/releases/tag/v12.4.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.4.1...v12.4.2)
##### Bug Fixes
- correctly handle --max-arg-length cli option ([1db5f26](https://togithub.com/okonet/lint-staged/commit/1db5f2651d7f41c56f3ee1eacb57f1be1566bce2))
### [`v12.4.1`](https://togithub.com/okonet/lint-staged/releases/tag/v12.4.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.4.0...v12.4.1)
##### Bug Fixes
- correctly handle symlinked config files ([b3f63ec](https://togithub.com/okonet/lint-staged/commit/b3f63ec43c04158e0ba00f541aa8ffb609d037d9))
### [`v12.4.0`](https://togithub.com/okonet/lint-staged/releases/tag/v12.4.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.8...v12.4.0)
##### Bug Fixes
- handle empty input by returning empty array from `parseGitZOutput` ([a118817](https://togithub.com/okonet/lint-staged/commit/a118817189a5b41168179fe7268903b1d7f4413a))
- limit configuration discovery to cwd ([d8fdf1d](https://togithub.com/okonet/lint-staged/commit/d8fdf1d9232fde6d65e6b1f4313edbf8d32f9dcb))
- restore functionality of parent globs for a single configuration file ([877ab4c](https://togithub.com/okonet/lint-staged/commit/877ab4cc66dfa51f5d8d14c89aeadc3ea41a1916))
##### Features
- expose `--max-arg-length` cli option ([e8291b0](https://togithub.com/okonet/lint-staged/commit/e8291b03fa3f3210795b808f40b9a11968f2d988))
### [`v12.3.8`](https://togithub.com/okonet/lint-staged/releases/tag/v12.3.8)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.7...v12.3.8)
##### Bug Fixes
- avoid passing unexpected arguments from forEach to process.kill() ([1b1f0e4](https://togithub.com/okonet/lint-staged/commit/1b1f0e4f529dbcb5f73ab7d49c5f7908c3b8a866))
- clear execution interruption interval on first catch ([46952cb](https://togithub.com/okonet/lint-staged/commit/46952cb0306bb5b54d839f63aecff7288389b195))
### [`v12.3.7`](https://togithub.com/okonet/lint-staged/releases/tag/v12.3.7)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.6...v12.3.7)
##### Bug Fixes
- improve renderer logic for `--silent` and `FORCE_COLOR` settings ([d327873](https://togithub.com/okonet/lint-staged/commit/d327873b1c0b6fbdeb6fd276e523043d51d6de37))
### [`v12.3.6`](https://togithub.com/okonet/lint-staged/releases/tag/v12.3.6)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.5...v12.3.6)
##### Bug Fixes
- kill other running tasks on failure ([#1117](https://togithub.com/okonet/lint-staged/issues/1117)) ([34fe319](https://togithub.com/okonet/lint-staged/commit/34fe31986201983c33ea2bde41f4b451947b826b))
### [`v12.3.5`](https://togithub.com/okonet/lint-staged/releases/tag/v12.3.5)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.4...v12.3.5)
##### Bug Fixes
- search all configs regardless of staged files ([4b605cd](https://togithub.com/okonet/lint-staged/commit/4b605cd3694cc5bfcf6c5a1a2e75c80ef234ab1a))
### [`v12.3.4`](https://togithub.com/okonet/lint-staged/releases/tag/v12.3.4)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.3...v12.3.4)
##### Bug Fixes
- add `package.json` to exports ([#1059](https://togithub.com/okonet/lint-staged/issues/1059)) ([3395150](https://togithub.com/okonet/lint-staged/commit/339515010ccd95a2f952dbe65f8366463f94d26a))
### [`v12.3.3`](https://togithub.com/okonet/lint-staged/releases/tag/v12.3.3)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.2...v12.3.3)
##### Bug Fixes
- use config directory as cwd, when multiple configs present ([#1091](https://togithub.com/okonet/lint-staged/issues/1091)) ([9a14e92](https://togithub.com/okonet/lint-staged/commit/9a14e92e37abf658fc3a0d5504ff4e980e49996c))
### [`v12.3.2`](https://togithub.com/okonet/lint-staged/releases/tag/v12.3.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.1...v12.3.2)
##### Bug Fixes
- handle symlinked .git directories ([3a897ff](https://togithub.com/okonet/lint-staged/commit/3a897ff1515bde9fc88769257f38cb2646d624fc))
### [`v12.3.1`](https://togithub.com/okonet/lint-staged/releases/tag/v12.3.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.3.0...v12.3.1)
##### Bug Fixes
- **deps:** update dependencies ([f190fc3](https://togithub.com/okonet/lint-staged/commit/f190fc31888d0a3c6f7070cb0f97edcbc7018a0e))
### [`v12.3.0`](https://togithub.com/okonet/lint-staged/releases/tag/v12.3.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.2.2...v12.3.0)
##### Features
- add `--cwd` option for overriding task directory ([62b5b83](https://togithub.com/okonet/lint-staged/commit/62b5b833950774e731b0ca034aa9289ec254a602))
### [`v12.2.2`](https://togithub.com/okonet/lint-staged/releases/tag/v12.2.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.2.1...v12.2.2)
##### Bug Fixes
- always search config from `cwd` first ([4afcda5](https://togithub.com/okonet/lint-staged/commit/4afcda5addade65ef847e3c5b0c4a38db80d020b))
### [`v12.2.1`](https://togithub.com/okonet/lint-staged/releases/tag/v12.2.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.2.0...v12.2.1)
##### Bug Fixes
- only throw if no configurations were found ([36b9546](https://togithub.com/okonet/lint-staged/commit/36b9546dda5ca24174b519ce6d132f31077b093b))
### [`v12.2.0`](https://togithub.com/okonet/lint-staged/releases/tag/v12.2.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.7...v12.2.0)
##### Bug Fixes
- make console task titles more explicit ([1c94c27](https://togithub.com/okonet/lint-staged/commit/1c94c2780485f3a2273f8b82db8e74ecafe258b4))
##### Features
- support multiple configuration files ([90d1035](https://togithub.com/okonet/lint-staged/commit/90d1035ef709329d297272e9164b0452c1ed37bd))
### [`v12.1.7`](https://togithub.com/okonet/lint-staged/releases/tag/v12.1.7)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.6...v12.1.7)
##### Bug Fixes
- resolve config modules with ESM createRequire ([#1082](https://togithub.com/okonet/lint-staged/issues/1082)) ([f9f6538](https://togithub.com/okonet/lint-staged/commit/f9f65380dc3fc6aaa5627abe92f4e26d5b7a25de))
### [`v12.1.6`](https://togithub.com/okonet/lint-staged/releases/tag/v12.1.6)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.5...v12.1.6)
##### Bug Fixes
- always run non-git tasks in the current working directory ([893f3d7](https://togithub.com/okonet/lint-staged/commit/893f3d7825f73115a41ddb3be34af15f4c207315))
### [`v12.1.5`](https://togithub.com/okonet/lint-staged/releases/tag/v12.1.5)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.4...v12.1.5)
##### Bug Fixes
- search configuration starting from explicit cwd option ([c7ea359](https://togithub.com/okonet/lint-staged/commit/c7ea3594c81f7c2724a7babc8e8d57926b4679c8))
- using `--debug` option enables debug mode ([5cceeb6](https://togithub.com/okonet/lint-staged/commit/5cceeb65630752b646047ae88cacc48b76758f1c))
### [`v12.1.4`](https://togithub.com/okonet/lint-staged/releases/tag/v12.1.4)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.3...v12.1.4)
##### Bug Fixes
- use cwd option when resolving git repo root ([#1075](https://togithub.com/okonet/lint-staged/issues/1075)) ([a230b03](https://togithub.com/okonet/lint-staged/commit/a230b0350885194e5f07be667312316ad869b7fc))
### [`v12.1.3`](https://togithub.com/okonet/lint-staged/releases/tag/v12.1.3)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.2...v12.1.3)
##### Bug Fixes
- **deps:** remove enquirer because it's now optional by listr2 ([96a1a29](https://togithub.com/okonet/lint-staged/commit/96a1a29ab49009d3d7edc98cc7344b1ac9c1cce6))
### [`v12.1.2`](https://togithub.com/okonet/lint-staged/releases/tag/v12.1.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.1...v12.1.2)
##### Bug Fixes
- fix Windows JS config loading by using file:// URLs ([f20ddf9](https://togithub.com/okonet/lint-staged/commit/f20ddf9413bfc2f44ad099b5cb1e5f478de5d35f))
- fix YAML config loading ([0082ec2](https://togithub.com/okonet/lint-staged/commit/0082ec22101c8f819a8b91872b808ee81d3c4d1e))
- improve error logging in loadConfig ([e7b6412](https://togithub.com/okonet/lint-staged/commit/e7b6412fb128f314346e28329c17a676cf691135))
### [`v12.1.1`](https://togithub.com/okonet/lint-staged/releases/tag/v12.1.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.1.0...v12.1.1)
##### Bug Fixes
- await for dynamic import promise when loading JS config ([e96b6d9](https://togithub.com/okonet/lint-staged/commit/e96b6d9674f07b4686876cb40605274577925973))
### [`v12.1.0`](https://togithub.com/okonet/lint-staged/releases/tag/v12.1.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.0.3...v12.1.0)
##### Features
- allow loading `.js` config file with ESM syntax ([410c3ba](https://togithub.com/okonet/lint-staged/commit/410c3ba36972259aa5b49045b5cd565a6525382b))
- replace `cosmiconfig` with `lilconfig` + `yaml` to reduce dependencies ([e7f9fa0](https://togithub.com/okonet/lint-staged/commit/e7f9fa0f2e6aa5adbb1a0c31d1ceaff01b43f692))
- support loading `.mjs` config ([8d3b176](https://togithub.com/okonet/lint-staged/commit/8d3b176a7af75790efbcd1f63f73e7ef51f6b377))
### [`v12.0.3`](https://togithub.com/okonet/lint-staged/releases/tag/v12.0.3)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.0.2...v12.0.3)
##### Bug Fixes
- install `enquirer` ([e01585f](https://togithub.com/okonet/lint-staged/commit/e01585f96d6aeef9f5f1b84df9936ce2be47d8f0))
### [`v12.0.2`](https://togithub.com/okonet/lint-staged/releases/tag/v12.0.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.0.1...v12.0.2)
##### Bug Fixes
- remove `npm` version requirement ([#1047](https://togithub.com/okonet/lint-staged/issues/1047)) ([e50d6d4](https://togithub.com/okonet/lint-staged/commit/e50d6d4ce53d125b735009bacb3de157fb6d1f2a))
### [`v12.0.1`](https://togithub.com/okonet/lint-staged/releases/tag/v12.0.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.0.0...v12.0.1)
##### Bug Fixes
- read version number from lint-staged package.json instead of package.json in cwd ([#1043](https://togithub.com/okonet/lint-staged/issues/1043)) ([#1044](https://togithub.com/okonet/lint-staged/issues/1044)) ([9f9213d](https://togithub.com/okonet/lint-staged/commit/9f9213d5fbc74e3c3fb11db2a1bd239888c2960c))
### [`v12.0.0`](https://togithub.com/okonet/lint-staged/releases/tag/v12.0.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.6...v12.0.0)
##### Features
- convert to native ESM module ([#1038](https://togithub.com/okonet/lint-staged/issues/1038)) ([7240f61](https://togithub.com/okonet/lint-staged/commit/7240f61730aa923b18156cc64ff5350f2d5be16d))
##### BREAKING CHANGES
- *lint-staged* is now a pure ESM module, and thus
requires Node.js version `^12.20.0 || ^14.13.1 || >=16.0.0`.
To update your Node.js integration, please use:
```js
// const lintStaged = require('lint-staged')
import lintStaged from 'lint-staged'
```
### [`v11.2.6`](https://togithub.com/okonet/lint-staged/releases/tag/v11.2.6)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.5...v11.2.6)
##### Bug Fixes
- revert back to `cosmiconfig` from `lilconfig` ([#1035](https://togithub.com/okonet/lint-staged/issues/1035)) ([e035b80](https://togithub.com/okonet/lint-staged/commit/e035b80e39da355da57c02db6565b55271ab1afa)), closes [#1033](https://togithub.com/okonet/lint-staged/issues/1033) [#981](https://togithub.com/okonet/lint-staged/issues/981)
### [`v11.2.5`](https://togithub.com/okonet/lint-staged/releases/tag/v11.2.5)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.4...v11.2.5)
##### Bug Fixes
- correctly import `js-yaml` to fix yaml config loading ([#1033](https://togithub.com/okonet/lint-staged/issues/1033)) ([612d806](https://togithub.com/okonet/lint-staged/commit/612d8066aa2c95573a06c125a311dc4aed8f2e71))
### [`v11.2.4`](https://togithub.com/okonet/lint-staged/releases/tag/v11.2.4)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.3...v11.2.4)
##### Performance Improvements
- replace `cosmiconfig` with `lilconfig` ([#981](https://togithub.com/okonet/lint-staged/issues/981)) ([04529e2](https://togithub.com/okonet/lint-staged/commit/04529e2b9040adc54cc8e5efc66b95bc0023477c))
### [`v11.2.3`](https://togithub.com/okonet/lint-staged/releases/tag/v11.2.3)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.2...v11.2.3)
##### Bug Fixes
- unbreak windows by correctly normalizing cwd ([#1029](https://togithub.com/okonet/lint-staged/issues/1029)) ([f861d8d](https://togithub.com/okonet/lint-staged/commit/f861d8d17d966809b6cd7ae338c289a125d0e3b4))
### [`v11.2.2`](https://togithub.com/okonet/lint-staged/releases/tag/v11.2.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.1...v11.2.2)
##### Bug Fixes
- remove dangling chars from git dir ([#1028](https://togithub.com/okonet/lint-staged/issues/1028)) ([11c004e](https://togithub.com/okonet/lint-staged/commit/11c004e89dfacc381fdb10b0db70475f693c27f1)), closes [#1027](https://togithub.com/okonet/lint-staged/issues/1027)
### [`v11.2.1`](https://togithub.com/okonet/lint-staged/releases/tag/v11.2.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.2.0...v11.2.1)
##### Bug Fixes
- detect git repo root correctly on cygwin ([#1026](https://togithub.com/okonet/lint-staged/issues/1026)) ([f291824](https://togithub.com/okonet/lint-staged/commit/f291824efadb1cce47eba62ee8fa57a546aab37f)), closes [#1025](https://togithub.com/okonet/lint-staged/issues/1025)
### [`v11.2.0`](https://togithub.com/okonet/lint-staged/releases/tag/v11.2.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/29be5d705e06b9f8105d285970e9f445175b9271...v11.2.0)
##### Features
- **deps:** update and slim down dependencies ([#1003](https://togithub.com/okonet/lint-staged/issues/1003)) ([32c08d3](https://togithub.com/okonet/lint-staged/commit/32c08d3f3c1c929e4fb3996c36fc937f032a2c5a))
### [`v11.1.4`](https://togithub.com/okonet/lint-staged/compare/9b4fff70cd5c428b12afe04a56f4dc81ea3f94ba...29be5d705e06b9f8105d285970e9f445175b9271)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/9b4fff70cd5c428b12afe04a56f4dc81ea3f94ba...29be5d705e06b9f8105d285970e9f445175b9271)
### [`v11.1.3`](https://togithub.com/okonet/lint-staged/compare/v11.1.2...9b4fff70cd5c428b12afe04a56f4dc81ea3f94ba)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.1.2...9b4fff70cd5c428b12afe04a56f4dc81ea3f94ba)
### [`v11.1.2`](https://togithub.com/okonet/lint-staged/releases/tag/v11.1.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.1.1...v11.1.2)
##### Bug Fixes
- try to automatically fix and warn about invalid brace patterns ([#992](https://togithub.com/okonet/lint-staged/issues/992)) ([b3d97cf](https://togithub.com/okonet/lint-staged/commit/b3d97cf4cfb115e51908cd92b95896442494c778))
### [`v11.1.1`](https://togithub.com/okonet/lint-staged/releases/tag/v11.1.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.1.0...v11.1.1)
##### Bug Fixes
- the shell option value should be optional instead of required ([#996](https://togithub.com/okonet/lint-staged/issues/996)) ([f7302f4](https://togithub.com/okonet/lint-staged/commit/f7302f4649b52785cdd17e7339e49ff53a6e3eda)), closes [#994](https://togithub.com/okonet/lint-staged/issues/994)
### [`v11.1.0`](https://togithub.com/okonet/lint-staged/releases/tag/v11.1.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.0.1...v11.1.0)
##### Features
- allow a path to be supplied to the --shell option ([#994](https://togithub.com/okonet/lint-staged/issues/994)) ([fea8033](https://togithub.com/okonet/lint-staged/commit/fea80331c768b3642e90fc687e5aceaa419d2b77))
### [`v11.0.1`](https://togithub.com/okonet/lint-staged/releases/tag/v11.0.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v11.0.0...v11.0.1)
##### Bug Fixes
- do not swallow already detected deprecated usage by last task ([#991](https://togithub.com/okonet/lint-staged/issues/991)) ([7734156](https://togithub.com/okonet/lint-staged/commit/7734156ce272189a7c663cccbb38af73a2b954b3))
### [`v11.0.0`](https://togithub.com/okonet/lint-staged/releases/tag/v11.0.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.5.4...v11.0.0)
##### Bug Fixes
- migrate commander@7 ([f8a0261](https://togithub.com/okonet/lint-staged/commit/f8a026140d477f906083ae90ffb383ad0c0807a6))
- migrate husky@6 ([5560d97](https://togithub.com/okonet/lint-staged/commit/5560d97f6a1d034b933d352b953a957d9bee61fa))
##### Features
- bump Node.js version requirement to 12.13.0 ([852aa6e](https://togithub.com/okonet/lint-staged/commit/852aa6ece128c408a7fdfcceaa952d05076fb4bd))
##### BREAKING CHANGES
- Node.js 12 LTS 'Erbium' is now the minimum required version
### [`v10.5.4`](https://togithub.com/okonet/lint-staged/releases/tag/v10.5.4)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.5.3...v10.5.4)
##### Bug Fixes
- concurrent option is not working correctly ([#950](https://togithub.com/okonet/lint-staged/issues/950)) ([4383815](https://togithub.com/okonet/lint-staged/commit/43838158b4b2557bf09c06d0d15c4936069e8855))
### [`v10.5.3`](https://togithub.com/okonet/lint-staged/releases/tag/v10.5.3)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.5.2...v10.5.3)
##### Bug Fixes
- better logging for errors in js config files ([#935](https://togithub.com/okonet/lint-staged/issues/935)) ([292e882](https://togithub.com/okonet/lint-staged/commit/292e882cc3422743f4419d98e97200483be82c4a))
### [`v10.5.2`](https://togithub.com/okonet/lint-staged/releases/tag/v10.5.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.5.1...v10.5.2)
##### Bug Fixes
- use bibliography-style links in related posts section of readme ([#932](https://togithub.com/okonet/lint-staged/issues/932)) ([0ff2917](https://togithub.com/okonet/lint-staged/commit/0ff29178c8771ab10e43a395e252c6a118306942)), closes [#931](https://togithub.com/okonet/lint-staged/issues/931)
### [`v10.5.1`](https://togithub.com/okonet/lint-staged/releases/tag/v10.5.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.5.0...v10.5.1)
##### Bug Fixes
- update dependencies ([#921](https://togithub.com/okonet/lint-staged/issues/921)) ([7933b08](https://togithub.com/okonet/lint-staged/commit/7933b081396d4a26d4c20fcd04c86c91cd89a8c6))
### [`v10.5.0`](https://togithub.com/okonet/lint-staged/releases/tag/v10.5.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.4.2...v10.5.0)
##### Features
- allow reading config from stdin ([#918](https://togithub.com/okonet/lint-staged/issues/918)) ([969713d](https://togithub.com/okonet/lint-staged/commit/969713d030515e4bafa6517244f8c41968f2b40b))
### [`v10.4.2`](https://togithub.com/okonet/lint-staged/releases/tag/v10.4.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.4.1...v10.4.2)
##### Bug Fixes
- update docs on supported config file extensions ([#917](https://togithub.com/okonet/lint-staged/issues/917)) ([78782f9](https://togithub.com/okonet/lint-staged/commit/78782f92b1fb0868218dc3463a3fc61dd5e70cfc))
### [`v10.4.1`](https://togithub.com/okonet/lint-staged/releases/tag/v10.4.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.4.0...v10.4.1)
##### Bug Fixes
- add support for .cjs configs ([#909](https://togithub.com/okonet/lint-staged/issues/909)) ([36e7e58](https://togithub.com/okonet/lint-staged/commit/36e7e5843b6b8b8744488b4db536d14d2e85e798))
### [`v10.4.0`](https://togithub.com/okonet/lint-staged/releases/tag/v10.4.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.3.0...v10.4.0)
##### Features
- Add ability to use function as config ([#913](https://togithub.com/okonet/lint-staged/issues/913)) ([67a4d06](https://togithub.com/okonet/lint-staged/commit/67a4d06e39c4638a546494940bf99934692fb610))
### [`v10.3.0`](https://togithub.com/okonet/lint-staged/releases/tag/v10.3.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.13...v10.3.0)
##### Features
- Add support for adding lint-staged using pre-commit.com ([#910](https://togithub.com/okonet/lint-staged/issues/910)) ([d404d7d](https://togithub.com/okonet/lint-staged/commit/d404d7d5a2ccfba51d2d59e1fbb6e2e82539646c))
### [`v10.2.13`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.13)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.12...v10.2.13)
##### Bug Fixes
- disambiguate stash reference ([#906](https://togithub.com/okonet/lint-staged/issues/906)) ([51c5ac8](https://togithub.com/okonet/lint-staged/commit/51c5ac80da475f2255e12547018a3366ef6bd5a4))
### [`v10.2.12`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.12)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.11...v10.2.12)
##### Bug Fixes
- always use the default short diff format for submodules [#902](https://togithub.com/okonet/lint-staged/issues/902) ([c7923ad](https://togithub.com/okonet/lint-staged/commit/c7923ad9259e8bc121694f8e8c4ad3668aae73e5))
- ensure supportsColor.level exists before stringifying it ([aa9898e](https://togithub.com/okonet/lint-staged/commit/aa9898e47ce20d925072ccc93986b28c0593e625))
### [`v10.2.11`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.11)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.10...v10.2.11)
##### Bug Fixes
- run all git commands with submodule.recurse=false ([#888](https://togithub.com/okonet/lint-staged/issues/888)) ([86c9ed2](https://togithub.com/okonet/lint-staged/commit/86c9ed2bde1245a702635b42a57b92b809340b0e))
### [`v10.2.10`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.10)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.9...v10.2.10)
##### Bug Fixes
- Git directory is not correctly resolved if GIT_WORK_TREE is set to relative path ([#887](https://togithub.com/okonet/lint-staged/issues/887)) ([a1904ec](https://togithub.com/okonet/lint-staged/commit/a1904ec6a96b04cd93eeb622b04cf328a10083df))
### [`v10.2.9`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.9)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.8...v10.2.9)
##### Bug Fixes
- update listr@2.1.0 and add enquirer peer dependency ([#883](https://togithub.com/okonet/lint-staged/issues/883)) ([0daae61](https://togithub.com/okonet/lint-staged/commit/0daae611b0637ebc6b9fac8672b842444bee3a38))
### [`v10.2.8`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.8)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.7...v10.2.8)
##### Bug Fixes
- canceling lint-staged via SIGINT restores state and cleans up ([#881](https://togithub.com/okonet/lint-staged/issues/881)) ([b078324](https://togithub.com/okonet/lint-staged/commit/b078324d5e911ec5e667736b2c552af32f475751))
### [`v10.2.7`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.7)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.6...v10.2.7)
##### Bug Fixes
- use machine output to avoid escaped and quoted filenames ([ea80a3d](https://togithub.com/okonet/lint-staged/commit/ea80a3dc4124ce8437d7879dea3c9220fb5b0ca2))
### [`v10.2.6`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.6)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.5...v10.2.6)
##### Bug Fixes
- remove nanoid devDependency to remove ExperimentalWarning ([#874](https://togithub.com/okonet/lint-staged/issues/874)) ([979da5d](https://togithub.com/okonet/lint-staged/commit/979da5d0d2fed4ef4a1748eaf10bb150005c99c4))
### [`v10.2.5`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.5)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.4...v10.2.5)
##### Bug Fixes
- truncate command title to stdout width ([#865](https://togithub.com/okonet/lint-staged/issues/865)) ([b8e1a4a](https://togithub.com/okonet/lint-staged/commit/b8e1a4a9683639d961f948283dec0e6dec556493))
### [`v10.2.4`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.4)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.3...v10.2.4)
##### Bug Fixes
- node-13 deps issue with listr2 and uuid ([#868](https://togithub.com/okonet/lint-staged/issues/868)) ([93bc942](https://togithub.com/okonet/lint-staged/commit/93bc942d9640e152a65c15d42c707c9b63420684))
### [`v10.2.3`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.3)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.2...v10.2.3)
##### Bug Fixes
- update listr2@2.0.1 ([157ad3e](https://togithub.com/okonet/lint-staged/commit/157ad3e97c91551de6f1182c7a8c17f3762f1f47))
### [`v10.2.2`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.1...v10.2.2)
##### Bug Fixes
- chunkFiles chunks normalized files even when maxArgLength is set ([#858](https://togithub.com/okonet/lint-staged/issues/858)) ([fc72170](https://togithub.com/okonet/lint-staged/commit/fc721704f223a8b649f949af38311c4d567268a6))
### [`v10.2.1`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.2.0...v10.2.1)
##### Bug Fixes
- normalize chunked paths even when maxArgLength is not set ([ba67f48](https://togithub.com/okonet/lint-staged/commit/ba67f48f5a8314723cbf1d9de08b6a794d4c112b))
- resolve matched files to cwd instead of gitDir before adding ([defe045](https://togithub.com/okonet/lint-staged/commit/defe0452e3080b8a13913cde11da43d30ff0e2d0))
### [`v10.2.0`](https://togithub.com/okonet/lint-staged/releases/tag/v10.2.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.1.7...v10.2.0)
##### Bug Fixes
- all lint-staged output respects the `quiet` option ([aba3421](https://togithub.com/okonet/lint-staged/commit/aba3421b0ec7335e49bc3f06a71441037bb2ae8a))
- do not show incorrect error when verbose and no output ([b8df31a](https://togithub.com/okonet/lint-staged/commit/b8df31af839a3125fa11fefae25359f1cfd271fd))
- log task output after running listr to keep everything ([d69c65b](https://togithub.com/okonet/lint-staged/commit/d69c65b8b5f7fa00dfecf52633fa6edd6bad6e29))
- use test renderer during tests and when TERM=dumb ([16848d8](https://togithub.com/okonet/lint-staged/commit/16848d83f3ec2cf67406755ec0aaa931ffb6787e))
##### Features
- add `--verbose` to show output even when tasks succeed ([85de3a3](https://togithub.com/okonet/lint-staged/commit/85de3a3aff34061211622e5a250a172fcbd6fb5b))
- allow specifying `cwd` using the Node.js API ([a3bd9d7](https://togithub.com/okonet/lint-staged/commit/a3bd9d7fa0b85983eb25f8483b407a14b15c1f11))
- replace listr with listr2 and print errors inline ([8f32a3e](https://togithub.com/okonet/lint-staged/commit/8f32a3eb38926fe931c36f788947a62a0b26405c))
### [`v10.1.7`](https://togithub.com/okonet/lint-staged/releases/tag/v10.1.7)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.1.6...v10.1.7)
##### Bug Fixes
- use stash create/store to prevent files from disappearing from disk ([c9adca5](https://togithub.com/okonet/lint-staged/commit/c9adca5))
### [`v10.1.6`](https://togithub.com/okonet/lint-staged/releases/tag/v10.1.6)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.1.5...v10.1.6)
##### Bug Fixes
- **deps:** update dependencies ([e093b1d](https://togithub.com/okonet/lint-staged/commit/e093b1d))
### [`v10.1.5`](https://togithub.com/okonet/lint-staged/releases/tag/v10.1.5)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.1.4...v10.1.5)
##### Bug Fixes
- pass correct path to unstaged patch during cleanup ([6066b07](https://togithub.com/okonet/lint-staged/commit/6066b07))
### [`v10.1.4`](https://togithub.com/okonet/lint-staged/releases/tag/v10.1.4)
[Compare Source](https://togithub.com/
Configuration
📅 Schedule: Branch creation - "before 4am on sunday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate using a preset from . View repository job log here
This PR contains the following updates:
^1.0.1
->^8.0.1
^8.2.1
->^13.0.3
^1.18.2
->^2.7.1
^8.0.1
->^9.0.0
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
typicode/husky
### [`v8.0.1`](https://togithub.com/typicode/husky/releases/tag/v8.0.1) [Compare Source](https://togithub.com/typicode/husky/compare/v8.0.0...v8.0.1) - fix: use POSIX equality operator ### [`v8.0.0`](https://togithub.com/typicode/husky/releases/tag/v8.0.0) [Compare Source](https://togithub.com/typicode/husky/compare/v7.0.4...v8.0.0) #### What's Changed ##### Feats - feat: add `husky -` prefix to logged global error messages by [@joshbalfour](https://togithub.com/joshbalfour) in [https://github.com/typicode/husky/pull/1092](https://togithub.com/typicode/husky/pull/1092) - feat: show `PATH` when command not found to improve debuggability - feat: drop Node 12 support - feat: skip install if `$HUSKY=0` ##### Fixes - fix: hook script use `/usr/bin/env sh` instead of direct path of `sh` by [@skhaz](https://togithub.com/skhaz) in [https://github.com/typicode/husky/pull/1051](https://togithub.com/typicode/husky/pull/1051) - fix: actually set 'husky_skip_init' as readonly in `./husky.sh` by [@hyperupcall](https://togithub.com/hyperupcall) in [https://github.com/typicode/husky/pull/1104](https://togithub.com/typicode/husky/pull/1104) - fix: force `basename`/`dirname` to treat `$0` as an argument by [@mataha](https://togithub.com/mataha) in [https://github.com/typicode/husky/pull/1132](https://togithub.com/typicode/husky/pull/1132) - fix: remove `git.io` links by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/typicode/husky/pull/1136](https://togithub.com/typicode/husky/pull/1136) ##### Docs - docs: fix uninstall via npm by [@pddpd](https://togithub.com/pddpd) in [https://github.com/typicode/husky/pull/1033](https://togithub.com/typicode/husky/pull/1033) - docs: add dog emoji as favicon by [@jamiehaywood](https://togithub.com/jamiehaywood) in [https://github.com/typicode/husky/pull/1095](https://togithub.com/typicode/husky/pull/1095) - docs: replace deprecated `npx --no-install` option with `npx --no` by [@sibiraj-s](https://togithub.com/sibiraj-s) in [https://github.com/typicode/husky/pull/1070](https://togithub.com/typicode/husky/pull/1070) - docs: add `pnpm` installation by [@MohamadKh75](https://togithub.com/MohamadKh75) in [https://github.com/typicode/husky/pull/1139](https://togithub.com/typicode/husky/pull/1139) ##### Chore - chore: update workflows by [@tiziodcaio](https://togithub.com/tiziodcaio) in [https://github.com/typicode/husky/pull/1125](https://togithub.com/typicode/husky/pull/1125) ### [`v7.0.4`](https://togithub.com/typicode/husky/releases/tag/v7.0.4) [Compare Source](https://togithub.com/typicode/husky/compare/v7.0.3...v7.0.4) *No changes. Husky v7.0.3 was reverted, this version is the same as v7.0.2.* ### [`v7.0.3`](https://togithub.com/typicode/husky/compare/v7.0.2...v7.0.3) [Compare Source](https://togithub.com/typicode/husky/compare/v7.0.2...v7.0.3) ### [`v7.0.2`](https://togithub.com/typicode/husky/releases/tag/v7.0.2) [Compare Source](https://togithub.com/typicode/husky/compare/v7.0.1...v7.0.2) Fix pre-commit hook in WebStorm ([#1023](https://togithub.com/typicode/husky/issues/1023)) ### [`v7.0.1`](https://togithub.com/typicode/husky/releases/tag/v7.0.1) [Compare Source](https://togithub.com/typicode/husky/compare/v7.0.0...v7.0.1) - Fix gracefully fail if Git command is not found [#1003](https://togithub.com/typicode/husky/issues/1003) (same as in v6) ### [`v7.0.0`](https://togithub.com/typicode/husky/releases/tag/v7.0.0) [Compare Source](https://togithub.com/typicode/husky/compare/v6.0.0...v7.0.0) - Improve `.husky/` directory structure. **`.husky/.gitignore` is now unnecessary and can be removed**. - Improve error output (shorter) - Update [`husky-init`](https://togithub.com/typicode/husky-init) CLI - Update [`husky-4-to-7`](https://togithub.com/typicode/husky-4-to-7) CLI - Drop Node 10 support *Please help me develop and release OSS projects :heart: on [GitHub Sponsors](https://togithub.com/sponsors/typicode) or [Open Collective](https://opencollective.com/husky). Thank you for your support!* ### [`v6.0.0`](https://togithub.com/typicode/husky/releases/tag/v6.0.0) [Compare Source](https://togithub.com/typicode/husky/compare/v5.2.0...v6.0.0) After being in early access for Open Source projects and Sponsors for a limited time, **I'm happy to announce that husky 6 is MIT again** and can be freely used in commercial projects! 🎉 **Many thanks to the [Open Source projects](https://typicode.github.io/husky/#/?id=used-by) and Companies which have switched to/sponsored the new husky during this period!** *OSS is my full-time job, please consider sponsoring the development of husky on [GitHub sponsors](https://togithub.com/sponsors/typicode) or [Open Collective](https://opencollective.com/husky). Thank you!* ### Breaking change - `husky init` has been moved to its own package (`npx husky-init`) ### Added - Programmatically use husky: `require('husky')` - TypeScript definitions ### Migrating from husky 4 Husky 6 contains breaking changes. If you're coming from v4, `npm install husky@6` won't be enough. **Recommended:** see [husky-4-to-6](https://typicode.github.io/husky/#/?id=husky-4-to-6-cli) CLI to automatically migrate your config. There's also a dedicated section in the [docs](https://typicode.github.io/husky/#/?id=migrate-from-v4-to-v6). **If you're curious why config has changed, you may be interested in reading:** https://blog.typicode.com/husky-git-hooks-javascript-config/ **Also Husky 6 follows official [npm](https://docs.npmjs.com/cli/v7/using-npm/scripts#best-practices) and [Yarn](https://yarnpkg.com/advanced/lifecycle-scripts#a-note-about-postinstall) best practices regarding autoinstall.** It's recommended to use `prepare` script instead (see [usage](https://typicode.github.io/husky/#/?id=usage) in docs). ### [`v5.2.0`](https://togithub.com/typicode/husky/releases/tag/v5.2.0) [Compare Source](https://togithub.com/typicode/husky/compare/v5.1.3...v5.2.0) - Add `set` command to replace hooks (`husky set .husky/pre-commit cmd`) - Update `add` command to append command (`husky add .husky/pre-commit cmd`) - Improve error messages ### [`v5.1.3`](https://togithub.com/typicode/husky/releases/tag/v5.1.3) [Compare Source](https://togithub.com/typicode/husky/compare/v5.1.2...v5.1.3) - docs: add specific Yarn v2 install/uninstall instructions - cli: `husky init` will detect Yarn v2 and initialize accordingly ### [`v5.1.2`](https://togithub.com/typicode/husky/releases/tag/v5.1.2) [Compare Source](https://togithub.com/typicode/husky/compare/v5.1.1...v5.1.2) - docs: recommend `prepare` script instead of `postinstall` ([#890](https://togithub.com/typicode/husky/issues/890)) - cli: `husky init` use `prepare` script ([#890](https://togithub.com/typicode/husky/issues/890)) ### [`v5.1.1`](https://togithub.com/typicode/husky/releases/tag/v5.1.1) [Compare Source](https://togithub.com/typicode/husky/compare/v5.1.0...v5.1.1) - style(shell): add trailing newlines ([#870](https://togithub.com/typicode/husky/issues/870)) - fix(init): update package.json postinstall ### [`v5.1.0`](https://togithub.com/typicode/husky/releases/tag/v5.1.0) [Compare Source](https://togithub.com/typicode/husky/compare/v5.0.9...v5.1.0) - Add `husky init` ### [`v5.0.9`](https://togithub.com/typicode/husky/releases/tag/v5.0.9) [Compare Source](https://togithub.com/typicode/husky/compare/v5.0.8...v5.0.9) - fix(install): do not fail if not inside a Git directory (closes [#851](https://togithub.com/typicode/husky/issues/851)) See https://github.com/typicode/husky/releases/tag/v5.0.0 for v5 release notes ### [`v5.0.8`](https://togithub.com/typicode/husky/releases/tag/v5.0.8) [Compare Source](https://togithub.com/typicode/husky/compare/v5.0.7...v5.0.8) - fix(install): better handle Git <2.9 ([#846](https://togithub.com/typicode/husky/issues/846)) closes [#844](https://togithub.com/typicode/husky/issues/844) ### [`v5.0.7`](https://togithub.com/typicode/husky/releases/tag/v5.0.7) [Compare Source](https://togithub.com/typicode/husky/compare/v5.0.6...v5.0.7) - fix(shell): double quote params ([#824](https://togithub.com/typicode/husky/issues/824)) ### [`v5.0.6`](https://togithub.com/typicode/husky/releases/tag/v5.0.6) [Compare Source](https://togithub.com/typicode/husky/compare/v5.0.5...v5.0.6) - Remove unused files ### [`v5.0.5`](https://togithub.com/typicode/husky/releases/tag/v5.0.5) [Compare Source](https://togithub.com/typicode/husky/compare/v5.0.4...v5.0.5) - Fix custom directory support [#827](https://togithub.com/typicode/husky/issues/827) ### [`v5.0.4`](https://togithub.com/typicode/husky/compare/v5.0.3...v5.0.4) [Compare Source](https://togithub.com/typicode/husky/compare/v5.0.3...v5.0.4) ### [`v5.0.3`](https://togithub.com/typicode/husky/compare/v5.0.2...v5.0.3) [Compare Source](https://togithub.com/typicode/husky/compare/v5.0.2...v5.0.3) ### [`v5.0.2`](https://togithub.com/typicode/husky/compare/v5.0.1...v5.0.2) [Compare Source](https://togithub.com/typicode/husky/compare/v5.0.1...v5.0.2) ### [`v5.0.1`](https://togithub.com/typicode/husky/compare/v5.0.0...v5.0.1) [Compare Source](https://togithub.com/typicode/husky/compare/v5.0.0...v5.0.1) ### [`v5.0.0`](https://togithub.com/typicode/husky/releases/tag/v5.0.0) [Compare Source](https://togithub.com/typicode/husky/compare/v4.3.8...v5.0.0) 👉 See https://typicode.github.io/husky for breaking changes and new installation instructions. #### Note about the license Husky 5 is released under The Parity Public License. It doesn't affect you if you're using husky in an Open Source project or if you're a sponsor. You're free to use it as usual and I hope you'll enjoy this new release ❤️ If you're using husky in a commercial project, you may want to consider becoming a sponsor to support the project. You can also try it for 30 days. **This is only for a limited time, husky will be MIT again later.** #### Migrating **Important** Husky v5 brings a lot of improvements but is also very different from v4. Git hooks won't work if you only upgrade husky dependency, existing config needs to be migrated too. The best way to switch to v5 is to follow the new installation instructions and migrate existing hooks command using `husky add`. ### [`v4.3.8`](https://togithub.com/typicode/husky/releases/tag/v4.3.8) [Compare Source](https://togithub.com/typicode/husky/compare/v4.3.7...v4.3.8) - Fix `Cannot read property 'toString' of null` - Improve error messages ### [`v4.3.7`](https://togithub.com/typicode/husky/releases/tag/v4.3.7) [Compare Source](https://togithub.com/typicode/husky/compare/v4.3.6...v4.3.7) - Fix: upgrade find-versions to 4.0.0 [https://github.com/typicode/husky/pull/837](https://togithub.com/typicode/husky/pull/837) ### [`v4.3.6`](https://togithub.com/typicode/husky/releases/tag/v4.3.6) [Compare Source](https://togithub.com/typicode/husky/compare/v4.3.5...v4.3.6) - Fix `prepare-commit-msg` on windows [#737](https://togithub.com/typicode/husky/issues/737) ### [`v4.3.5`](https://togithub.com/typicode/husky/releases/tag/v4.3.5) [Compare Source](https://togithub.com/typicode/husky/compare/v4.3.4...v4.3.5) - Rollback and do not throw error if husky install fails ### [`v4.3.4`](https://togithub.com/typicode/husky/releases/tag/v4.3.4) [Compare Source](https://togithub.com/typicode/husky/compare/v4.3.3...v4.3.4) - Throw error if husky install fails - Add workaround for npm 7 currently missing `INIT_CWD` environment variable ### [`v4.3.3`](https://togithub.com/typicode/husky/compare/v4.3.2...v4.3.3) [Compare Source](https://togithub.com/typicode/husky/compare/v4.3.2...v4.3.3) ### [`v4.3.2`](https://togithub.com/typicode/husky/compare/v4.3.1...v4.3.2) [Compare Source](https://togithub.com/typicode/husky/compare/v4.3.1...v4.3.2) ### [`v4.3.1`](https://togithub.com/typicode/husky/compare/v4.3.0...v4.3.1) [Compare Source](https://togithub.com/typicode/husky/compare/v4.3.0...v4.3.1) ### [`v4.3.0`](https://togithub.com/typicode/husky/releases/tag/v4.3.0) [Compare Source](https://togithub.com/typicode/husky/compare/v4.2.5...v4.3.0) - Add `.cjs` config file support [#754](https://togithub.com/typicode/husky/issues/754) ### [`v4.2.5`](https://togithub.com/typicode/husky/releases/tag/v4.2.5) [Compare Source](https://togithub.com/typicode/husky/compare/v4.2.4...v4.2.5) - Fix wrong error message [#709](https://togithub.com/typicode/husky/issues/709) - Update dependencies [#710](https://togithub.com/typicode/husky/issues/710) ### [`v4.2.4`](https://togithub.com/typicode/husky/releases/tag/v4.2.4) [Compare Source](https://togithub.com/typicode/husky/compare/v4.2.3...v4.2.4) - When Node version is unsupported, log actual version in addition to the error message [#701](https://togithub.com/typicode/husky/issues/701) - Fix: support `cnpm` package manager [#687](https://togithub.com/typicode/husky/issues/687) - Fix: always use `sh` to run scripts and avoid inconsistencies [#707](https://togithub.com/typicode/husky/issues/707) - Fix: don't throw error if files are already removed during uninstall [#708](https://togithub.com/typicode/husky/issues/708) ### [`v4.2.3`](https://togithub.com/typicode/husky/releases/tag/v4.2.3) [Compare Source](https://togithub.com/typicode/husky/compare/v4.2.2...v4.2.3) - Fix: check for `husky.config.js` not `.huskyrc.config.js` [#669](https://togithub.com/typicode/husky/issues/669) ### [`v4.2.2`](https://togithub.com/typicode/husky/releases/tag/v4.2.2) [Compare Source](https://togithub.com/typicode/husky/compare/v4.2.1...v4.2.2) - Fix [#662](https://togithub.com/typicode/husky/issues/662) disable fast-skip heuristic for `.husky.js` and `.husky.config.js` - Fix do not install `update`, `pre/post-receive` hooks ### [`v4.2.1`](https://togithub.com/typicode/husky/releases/tag/v4.2.1) [Compare Source](https://togithub.com/typicode/husky/compare/v4.2.0...v4.2.1) - Fix: support spaces in path to husky.local.sh [#658](https://togithub.com/typicode/husky/issues/658) ### [`v4.2.0`](https://togithub.com/typicode/husky/releases/tag/v4.2.0) [Compare Source](https://togithub.com/typicode/husky/compare/v4.1.0...v4.2.0) - Check Git version during install and log an error if it's `<2.13.0` ### [`v4.1.0`](https://togithub.com/typicode/husky/releases/tag/v4.1.0) [Compare Source](https://togithub.com/typicode/husky/compare/v4.0.10...v4.1.0) - Improve speed and refactor hooks ### [`v4.0.10`](https://togithub.com/typicode/husky/compare/v4.0.9...v4.0.10) [Compare Source](https://togithub.com/typicode/husky/compare/v4.0.9...v4.0.10) ### [`v4.0.9`](https://togithub.com/typicode/husky/releases/tag/v4.0.9) [Compare Source](https://togithub.com/typicode/husky/compare/v4.0.8...v4.0.9) - Fix: read stdin from hook script ([#645](https://togithub.com/typicode/husky/issues/645)) ### [`v4.0.8`](https://togithub.com/typicode/husky/compare/v4.0.7...v4.0.8) [Compare Source](https://togithub.com/typicode/husky/compare/v4.0.7...v4.0.8) ### [`v4.0.7`](https://togithub.com/typicode/husky/releases/tag/v4.0.7) [Compare Source](https://togithub.com/typicode/husky/compare/v4.0.6...v4.0.7) - Fix: Yarn when running inside `winpty` ([#634](https://togithub.com/typicode/husky/issues/634)) ### [`v4.0.6`](https://togithub.com/typicode/husky/releases/tag/v4.0.6) [Compare Source](https://togithub.com/typicode/husky/compare/v4.0.5...v4.0.6) - Revert change in v4.0.5 ### [`v4.0.5`](https://togithub.com/typicode/husky/releases/tag/v4.0.5) [Compare Source](https://togithub.com/typicode/husky/compare/v4.0.4...v4.0.5) - Fix: use process.exit if install fails [#633](https://togithub.com/typicode/husky/issues/633) ### [`v4.0.4`](https://togithub.com/typicode/husky/releases/tag/v4.0.4) [Compare Source](https://togithub.com/typicode/husky/compare/v4.0.3...v4.0.4) - Fix: npm ignore `.eslintrc.js` ([#627](https://togithub.com/typicode/husky/issues/627)) ### [`v4.0.3`](https://togithub.com/typicode/husky/releases/tag/v4.0.3) [Compare Source](https://togithub.com/typicode/husky/compare/v4.0.2...v4.0.3) - Fix: error message if trying to install in a non-git repo ([#627](https://togithub.com/typicode/husky/issues/627)) ### [`v4.0.2`](https://togithub.com/typicode/husky/releases/tag/v4.0.2) [Compare Source](https://togithub.com/typicode/husky/compare/v4.0.1...v4.0.2) - Fix: show error message when hook fails ### [`v4.0.1`](https://togithub.com/typicode/husky/releases/tag/v4.0.1) [Compare Source](https://togithub.com/typicode/husky/compare/v4.0.0...v4.0.1) - Fix: make Yarn silent. When Husky was installed with Yarn 1.21.1, hooks output was too verbose ([#626](https://togithub.com/typicode/husky/issues/626)). ### [`v4.0.0`](https://togithub.com/typicode/husky/releases/tag/v4.0.0) [Compare Source](https://togithub.com/typicode/husky/compare/v3.1.0...v4.0.0) - Support `Yarn v2` new Plug'n'Play feature (thanks to [@arcanis](https://togithub.com/arcanis)) - Improve path handling on Windows (in particular with `Cygwin` and `Cmdr`) - Remove `dependencies` and simplify code - **Breaking** requires `Node 10+` **Thanks to all contributors and everyone who is supporting Husky on [Open Collective](https://opencollective.com/husky), [GitHub sponsors](https://togithub.com/sponsors/typicode) and [Patreon](https://www.patreon.com/typicode)!** ### [`v3.1.0`](https://togithub.com/typicode/husky/releases/tag/v3.1.0) [Compare Source](https://togithub.com/typicode/husky/compare/v3.0.9...v3.1.0) - Add `pre-merge-commit` hook ([#605](https://togithub.com/typicode/husky/issues/605)) ### [`v3.0.9`](https://togithub.com/typicode/husky/releases/tag/v3.0.9) [Compare Source](https://togithub.com/typicode/husky/compare/v3.0.8...v3.0.9) - Reduce dependencies: replace `is-ci` with `ci-info` [#579](https://togithub.com/typicode/husky/issues/579) ### [`v3.0.8`](https://togithub.com/typicode/husky/releases/tag/v3.0.8) [Compare Source](https://togithub.com/typicode/husky/compare/v3.0.7...v3.0.8) - Fix: git worktree support [#580](https://togithub.com/typicode/husky/issues/580) - Debug: check `GIT_DIR` environment variable when hooks are run ### [`v3.0.7`](https://togithub.com/typicode/husky/releases/tag/v3.0.7) [Compare Source](https://togithub.com/typicode/husky/compare/v3.0.6...v3.0.7) Debug: display husky version and created at ### [`v3.0.6`](https://togithub.com/typicode/husky/releases/tag/v3.0.6) [Compare Source](https://togithub.com/typicode/husky/compare/v3.0.5...v3.0.6) Debug: improve messages ### [`v3.0.5`](https://togithub.com/typicode/husky/releases/tag/v3.0.5) [Compare Source](https://togithub.com/typicode/husky/compare/v3.0.4...v3.0.5) Fix: prevent `postinstall` from failing on windows [https://github.com/typicode/husky/pull/573](https://togithub.com/typicode/husky/pull/573) ### [`v3.0.4`](https://togithub.com/typicode/husky/releases/tag/v3.0.4) [Compare Source](https://togithub.com/typicode/husky/compare/v3.0.3...v3.0.4) Fix: skip install earlier when `HUSKY_SKIP_INSTALL=1` ([https://github.com/typicode/husky/issues/563](https://togithub.com/typicode/husky/issues/563)) ### [`v3.0.3`](https://togithub.com/typicode/husky/releases/tag/v3.0.3) [Compare Source](https://togithub.com/typicode/husky/compare/v3.0.2...v3.0.3) Fix: prevent old hooks (husky `< 1.0`) to be run if new ones are defined (husky `>= 1.0` ) [https://github.com/typicode/husky/issues/556](https://togithub.com/typicode/husky/issues/556) ### [`v3.0.2`](https://togithub.com/typicode/husky/releases/tag/v3.0.2) [Compare Source](https://togithub.com/typicode/husky/compare/v3.0.1...v3.0.2) - Fix: add shebang to run.js ([#528](https://togithub.com/typicode/husky/issues/528)) ### [`v3.0.1`](https://togithub.com/typicode/husky/releases/tag/v3.0.1) [Compare Source](https://togithub.com/typicode/husky/compare/v3.0.0...v3.0.1) - Improve error message if git command fails ### [`v3.0.0`](https://togithub.com/typicode/husky/releases/tag/v3.0.0) [Compare Source](https://togithub.com/typicode/husky/compare/df97af21254ca033a05346df3deb61c046b9ea12...v3.0.0) - Fix HUSKY_SKIP_INSTALL=1 not skipping install - **Breaking change** husky requires now Git `>= 2.13.2`. If you're already using husky `v2` and don't use an old version of Git, you can safely upgrade. ### [`v2.7.0`](https://togithub.com/typicode/husky/compare/v2.6.0...df97af21254ca033a05346df3deb61c046b9ea12) [Compare Source](https://togithub.com/typicode/husky/compare/v2.6.0...df97af21254ca033a05346df3deb61c046b9ea12) ### [`v2.6.0`](https://togithub.com/typicode/husky/compare/v2.5.0...v2.6.0) [Compare Source](https://togithub.com/typicode/husky/compare/v2.5.0...v2.6.0) ### [`v2.5.0`](https://togithub.com/typicode/husky/compare/v2.4.1...v2.5.0) [Compare Source](https://togithub.com/typicode/husky/compare/v2.4.1...v2.5.0) ### [`v2.4.1`](https://togithub.com/typicode/husky/compare/v2.4.0...v2.4.1) [Compare Source](https://togithub.com/typicode/husky/compare/v2.4.0...v2.4.1) ### [`v2.4.0`](https://togithub.com/typicode/husky/compare/v2.3.0...v2.4.0) [Compare Source](https://togithub.com/typicode/husky/compare/v2.3.0...v2.4.0) ### [`v2.3.0`](https://togithub.com/typicode/husky/compare/v2.2.0...v2.3.0) [Compare Source](https://togithub.com/typicode/husky/compare/v2.2.0...v2.3.0) ### [`v2.2.0`](https://togithub.com/typicode/husky/compare/v2.1.0...v2.2.0) [Compare Source](https://togithub.com/typicode/husky/compare/v2.1.0...v2.2.0) ### [`v2.1.0`](https://togithub.com/typicode/husky/compare/v2.0.0...v2.1.0) [Compare Source](https://togithub.com/typicode/husky/compare/v2.0.0...v2.1.0) ### [`v2.0.0`](https://togithub.com/typicode/husky/compare/v1.3.1...v2.0.0) [Compare Source](https://togithub.com/typicode/husky/compare/v1.3.1...v2.0.0)okonet/lint-staged
### [`v13.0.3`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.3) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.0.2...v13.0.3) ##### Bug Fixes - correctly handle git stash when using MSYS2 ([#1178](https://togithub.com/okonet/lint-staged/issues/1178)) ([0d627a5](https://togithub.com/okonet/lint-staged/commit/0d627a52846d63cd6fc6018a8d7779ef454a99b2)) ### [`v13.0.2`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.0.1...v13.0.2) ##### Bug Fixes - use new `--diff` and `--diff-filter` options when checking task modifications ([1a5a66a](https://togithub.com/okonet/lint-staged/commit/1a5a66a9574e2a8b857bd62545a6f2a6da5811aa)) ### [`v13.0.1`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v13.0.0...v13.0.1) ##### Bug Fixes - correct spelling of "0 files" ([f27f1d4](https://togithub.com/okonet/lint-staged/commit/f27f1d45ea20904e81dda155a802b2eb07d50942)) - suppress error from `process.kill` when killing tasks on failure ([f2c6bdd](https://togithub.com/okonet/lint-staged/commit/f2c6bdd9114a8d5ba8473cc647ef55a6ee5664e1)) - **deps:** update pidtree@^0.6.0 to fix screen size error in WSL ([1a77e42](https://togithub.com/okonet/lint-staged/commit/1a77e4224a273bbc192b654d0a0120187e850a61)) - ignore "No matching pid found" error ([cb8a432](https://togithub.com/okonet/lint-staged/commit/cb8a4328eddbc99a0806276f68b55f6c5ecb3d8a)) - prevent possible race condition when killing tasks on failure ([bc92aff](https://togithub.com/okonet/lint-staged/commit/bc92aff5fdb6293045c556326df3c0529e59b7e3)) ##### Performance Improvements - use `EventsEmitter` instead of `setInterval` for killing tasks on failure ([c508b46](https://togithub.com/okonet/lint-staged/commit/c508b46a153970114495d3f7fef05d45df0f2e10)) ### [`v13.0.0`](https://togithub.com/okonet/lint-staged/releases/tag/v13.0.0) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.5.0...v13.0.0) ##### Bug Fixes - **deps:** update `execa@^6.1.0` ([659c85c](https://togithub.com/okonet/lint-staged/commit/659c85c5cd4c4040a505bbe9fddbe7d416ac15c8)) - **deps:** update `yaml@^2.1.1` ([2750a3d](https://togithub.com/okonet/lint-staged/commit/2750a3d9d909fd834b95da752f0f6800340922b7)) ##### Features - remove support for Node.js 12 ([5fb6df9](https://togithub.com/okonet/lint-staged/commit/5fb6df94ccd6de6f5fdd743474c094ff366cc671)) ##### BREAKING CHANGES - `lint-staged` will no longer support Node.js 12, which is EOL since 30 April 2022 ### [`v12.5.0`](https://togithub.com/okonet/lint-staged/releases/tag/v12.5.0) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v12.4.3...v12.5.0) ##### Bug Fixes - include all files when using `--configConfiguration
📅 Schedule: Branch creation - "before 4am on sunday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate using a preset from . View repository job log here