okonet/lint-staged
### [`v11.2.3`](https://togithub.com/okonet/lint-staged/releases/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/v10.1.4)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.1.3...v10.1.4)
##### Bug Fixes
- allow lint-staged to run on empty git repo by disabling backup ([0bf1fb0](https://togithub.com/okonet/lint-staged/commit/0bf1fb0))
### [`v10.1.3`](https://togithub.com/okonet/lint-staged/releases/v10.1.3)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.1.2...v10.1.3)
##### Bug Fixes
- only run git add on staged files matched to a task ([d39573b](https://togithub.com/okonet/lint-staged/commit/d39573b))
- run `git add` for staged file chunks serially ([69acfa3](https://togithub.com/okonet/lint-staged/commit/69acfa3))
### [`v10.1.2`](https://togithub.com/okonet/lint-staged/releases/v10.1.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.1.1...v10.1.2)
##### Bug Fixes
- no longer include untracked files in backup stash ([#827](https://togithub.com/okonet/lint-staged/issues/827)) ([2f15336](https://togithub.com/okonet/lint-staged/commit/2f15336))
### [`v10.1.1`](https://togithub.com/okonet/lint-staged/releases/v10.1.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.1.0...v10.1.1)
##### Bug Fixes
- add `--` to `git add` command to denote pathspec starting ([#821](https://togithub.com/okonet/lint-staged/issues/821)) ([226ccdb](https://togithub.com/okonet/lint-staged/commit/226ccdb7727c9837fa04528047ced89466c4b833))
### [`v10.1.0`](https://togithub.com/okonet/lint-staged/releases/v10.1.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.10...v10.1.0)
##### Bug Fixes
- do not return string from runAll, add info symbol to "No staged files found." message ([1e7298a](https://togithub.com/okonet/lint-staged/commit/1e7298a23c3c2d09810f6e1a54ead8a449d7fd7d))
- force src and dst prefixes in diff to work around local diff.noprefix setting ([7f2ef33](https://togithub.com/okonet/lint-staged/commit/7f2ef33dde170e83a8943886a4f1502113dcb50c))
- unset GIT_LITERAL_PATHSPECS env variable before running ([a653c55](https://togithub.com/okonet/lint-staged/commit/a653c55a397e7e6f04fa5aefb0ddf2c7543569d9))
##### Features
- add `--no-stash` option to disable the backup stash, and not revert in case of errors ([c386e4c](https://togithub.com/okonet/lint-staged/commit/c386e4cf9646dc0953213e9a0ef857cb9664af37))
- only hide/restore unstaged modifications to partially staged files ([52125a9](https://togithub.com/okonet/lint-staged/commit/52125a9d557e3fc117a421662cf45d6462517d87))
### [`v10.0.10`](https://togithub.com/okonet/lint-staged/releases/v10.0.10)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.9...v10.0.10)
##### Bug Fixes
- support non-ASCII filenames when git is configured with `core.quotepath on` ([2cb26a6](https://togithub.com/okonet/lint-staged/commit/2cb26a635a313a32c208caf5ba6a9215a68b9c6d))
### [`v10.0.9`](https://togithub.com/okonet/lint-staged/releases/v10.0.9)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.8...v10.0.9)
##### Bug Fixes
- use `path.join` and `normalize` to improve msys compatibility in resolveGitRepo ([1ad263a](https://togithub.com/okonet/lint-staged/commit/1ad263a5c03d0f3fd90f2dffd0d9083f0ef8112e))
### [`v10.0.8`](https://togithub.com/okonet/lint-staged/releases/v10.0.8)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.7...v10.0.8)
##### Bug Fixes
- do not drop backup stash when reverting to original state fails ([f589336](https://togithub.com/okonet/lint-staged/commit/f5893365409bf935db058a4f41aeaccc90cd3a18))
- evaluate functional configuration only once ([abe4b92](https://togithub.com/okonet/lint-staged/commit/abe4b92d7f6213b59d756d172298bc29bb2bd44c))
### [`v10.0.7`](https://togithub.com/okonet/lint-staged/releases/v10.0.7)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.6...v10.0.7)
##### Bug Fixes
- replace fs.promises with util.promisify ([#786](https://togithub.com/okonet/lint-staged/issues/786)) ([f71c1c9](https://togithub.com/okonet/lint-staged/commit/f71c1c9ad2d27205199171bf3dc0e908889ba384))
### [`v10.0.6`](https://togithub.com/okonet/lint-staged/releases/v10.0.6)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.5...v10.0.6)
##### Bug Fixes
- make sure deleted files aren't restored due to git bugs ([#778](https://togithub.com/okonet/lint-staged/issues/778)) ([6bfbe6c](https://togithub.com/okonet/lint-staged/commit/6bfbe6c204e351bd7055c5ecc810e1f9074304da))
### [`v10.0.5`](https://togithub.com/okonet/lint-staged/releases/v10.0.5)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.4...v10.0.5)
##### Bug Fixes
- always resolve real git config dir location if .git is a file ([#784](https://togithub.com/okonet/lint-staged/issues/784)) ([b98a5ed](https://togithub.com/okonet/lint-staged/commit/b98a5ed8d422f637af4157a157676a70e3f1981a))
### [`v10.0.4`](https://togithub.com/okonet/lint-staged/releases/v10.0.4)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.3...v10.0.4)
##### Bug Fixes
- use verbose renderer when TERM=dumb ([#782](https://togithub.com/okonet/lint-staged/issues/782)) ([9c08e8e](https://togithub.com/okonet/lint-staged/commit/9c08e8ee0bdf00de7dc6e15cd660e6fc55129832))
### [`v10.0.3`](https://togithub.com/okonet/lint-staged/releases/v10.0.3)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.2...v10.0.3)
##### Bug Fixes
- correctly restore untracked files after running ([#780](https://togithub.com/okonet/lint-staged/issues/780)) ([4010db0](https://togithub.com/okonet/lint-staged/commit/4010db09f6d168af677bd4ca1c815ba40460ae80))
### [`v10.0.2`](https://togithub.com/okonet/lint-staged/releases/v10.0.2)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.1...v10.0.2)
##### Bug Fixes
- only warn about git add when it's the exact command ([24febb3](https://togithub.com/okonet/lint-staged/commit/24febb3c906dd84f8ee19bae74509e42db034380))
- parse command string with string-argv unless --shell is used ([4cb4dde](https://togithub.com/okonet/lint-staged/commit/4cb4ddee0c6b6500eefd20eb3d1bad249d51b96a))
- print a better warning when the initial commit is missing ([293547d](https://togithub.com/okonet/lint-staged/commit/293547d46080eac007393709a0d63a63f2063fff))
### [`v10.0.1`](https://togithub.com/okonet/lint-staged/releases/v10.0.1)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.0...v10.0.1)
##### Bug Fixes
- preserve merge states in submodules ([#769](https://togithub.com/okonet/lint-staged/issues/769)) ([e646b2c](https://togithub.com/okonet/lint-staged/commit/e646b2c46ad34344b526462200471fa47dcc398f))
### [`v10.0.0`](https://togithub.com/okonet/lint-staged/releases/v10.0.0)
[Compare Source](https://togithub.com/okonet/lint-staged/compare/v9.5.0...v10.0.0)
##### Bug Fixes
- add all modified files to git index with `git add .` ([bf532c2](https://togithub.com/okonet/lint-staged/commit/bf532c2af9dbd3514b16768a106fea82ddc99923))
- automatically add modifications only to originally staged files ([083b8e7](https://togithub.com/okonet/lint-staged/commit/083b8e7d67307a177d427d694ead22cb0c95b0ca))
- better workaround for git stash --keep-index bug ([f3ae378](https://togithub.com/okonet/lint-staged/commit/f3ae378aa8d7207f990c4ffec854cc8da4d38b1d))
- correctly leave only staged files for running tasks ([cfde9ca](https://togithub.com/okonet/lint-staged/commit/cfde9ca64bed7fa236eda69e63478c536f9f9068))
- correctly recover when unstaged changes cannot be restored ([d091f71](https://togithub.com/okonet/lint-staged/commit/d091f71ff50b1eddc59e759b1b09a95ed613c4d2))
- correctly restore untracked files from backup stash ([c7d0592](https://togithub.com/okonet/lint-staged/commit/c7d05922b24524707795c4045339801c86affe9d))
- error handling skips dropping backup stash after internal git errors ([30b4809](https://togithub.com/okonet/lint-staged/commit/30b480925a313f5c2b614eb40eb1a340a6cefae5))
- fail with a message when backup stash is missing ([1b64239](https://togithub.com/okonet/lint-staged/commit/1b64239163f5560b7235843909a9d30ff7ca1b83))
- gitWorkflow handles active merge mode ([2f1e886](https://togithub.com/okonet/lint-staged/commit/2f1e886cba422844b0496a96696dae5296835862))
- handle git MERGE_\* files separately; improve error handling ([da22cf2](https://togithub.com/okonet/lint-staged/commit/da22cf22bbd21be98a73b880a4ce43dbd0129021))
- improve debug logging ([f88e226](https://togithub.com/okonet/lint-staged/commit/f88e22619b8dea4fbcda3d57a85ca9d1be152908))
- keep untracked files around by backing them up ([fc03fdc](https://togithub.com/okonet/lint-staged/commit/fc03fdc2e869384eb2d6423ff31f84e3cf22007e))
- max arg length is by default half of the allowed to prevent edge cases ([80406c2](https://togithub.com/okonet/lint-staged/commit/80406c20fd3d1a86b0a0558c10f6747b2b47698e))
- prevent Listr from hiding git add warning ([cce9809](https://togithub.com/okonet/lint-staged/commit/cce9809a2ce335a3b2c3f44e4c521270b13f9d4c))
- restore metadata about git merge before running tasks ([f8ddfc2](https://togithub.com/okonet/lint-staged/commit/f8ddfc22d22fec2b417a67249573e7cd6abdb9fc))
- retry failing apply with 3-way merge ([76cb08f](https://togithub.com/okonet/lint-staged/commit/76cb08f6eecd68f3ae7e606216b4c5fdc1da94f0))
- support binary files ([7b3a334](https://togithub.com/okonet/lint-staged/commit/7b3a334ac33ffe1bda930583a055fb1db0b6d181))
- try applying unstaged changes before handling errors ([357934f](https://togithub.com/okonet/lint-staged/commit/357934fe1e193040d1a138d3d138da1377004be2))
- update warning about git add, and to README ([6467a66](https://togithub.com/okonet/lint-staged/commit/6467a66b13657f1a39b0f1f3a079dc31a8461fe9))
- workaround for stashing deleted files for git < 2.23 ([1a87333](https://togithub.com/okonet/lint-staged/commit/1a87333f9ee0704b3bb332bf5fbc11dbd25f7821))
##### Features
- automatically stage task modifications ([74ed28d](https://togithub.com/okonet/lint-staged/commit/74ed28d5edc70c66d769f7658b90b550029a2acf))
- bump Node.js version dependency to at least 10.13.0 ([#747](https://togithub.com/okonet/lint-staged/issues/747)) ([814b9df](https://togithub.com/okonet/lint-staged/commit/814b9dfe131f55c18a8996f775dd5dd582d0a766))
- split tasks into chunks to support shells with limited max argument length ([#732](https://togithub.com/okonet/lint-staged/issues/732)) ([cb43872](https://togithub.com/okonet/lint-staged/commit/cb43872fb6c05366a8fc25a8bd889b95918f45a3))
- support async function tasks ([20d5c5d](https://togithub.com/okonet/lint-staged/commit/20d5c5d4cb92f9a4c501e5308cc51379d10581a8))
- throw error to prevent empty commits unless --allow-empty is used ([#762](https://togithub.com/okonet/lint-staged/issues/762)) ([8bdeec0](https://togithub.com/okonet/lint-staged/commit/8bdeec067f425150722bd0ee78e310e0992a1444))
- use git stashes for gitWorkflow ([40a5db1](https://togithub.com/okonet/lint-staged/commit/40a5db1f6b1ad17b5a593974b6db93015f50824c))
- warn when task contains "git add" ([5208399](https://togithub.com/okonet/lint-staged/commit/52083990166cbea3bfe3d316ad6598c6c198fe1e))
##### 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.
- Node.js v8 is no longer supported because it will reach EOL on 2019-12-31
- Prior to version 10, tasks had to manually include `git add` as the final step. This behavior has been integrated into lint-staged itself in order to prevent race conditions with multiple tasks editing the same files. If lint-staged detects `git add` in task configurations, it will show a warning in the console. Please remove `git add` from your configuration after upgrading.
Configuration
📅 Schedule: 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
9.5.0
->11.2.3
Release Notes
okonet/lint-staged
### [`v11.2.3`](https://togithub.com/okonet/lint-staged/releases/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/v10.1.4) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.1.3...v10.1.4) ##### Bug Fixes - allow lint-staged to run on empty git repo by disabling backup ([0bf1fb0](https://togithub.com/okonet/lint-staged/commit/0bf1fb0)) ### [`v10.1.3`](https://togithub.com/okonet/lint-staged/releases/v10.1.3) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.1.2...v10.1.3) ##### Bug Fixes - only run git add on staged files matched to a task ([d39573b](https://togithub.com/okonet/lint-staged/commit/d39573b)) - run `git add` for staged file chunks serially ([69acfa3](https://togithub.com/okonet/lint-staged/commit/69acfa3)) ### [`v10.1.2`](https://togithub.com/okonet/lint-staged/releases/v10.1.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.1.1...v10.1.2) ##### Bug Fixes - no longer include untracked files in backup stash ([#827](https://togithub.com/okonet/lint-staged/issues/827)) ([2f15336](https://togithub.com/okonet/lint-staged/commit/2f15336)) ### [`v10.1.1`](https://togithub.com/okonet/lint-staged/releases/v10.1.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.1.0...v10.1.1) ##### Bug Fixes - add `--` to `git add` command to denote pathspec starting ([#821](https://togithub.com/okonet/lint-staged/issues/821)) ([226ccdb](https://togithub.com/okonet/lint-staged/commit/226ccdb7727c9837fa04528047ced89466c4b833)) ### [`v10.1.0`](https://togithub.com/okonet/lint-staged/releases/v10.1.0) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.10...v10.1.0) ##### Bug Fixes - do not return string from runAll, add info symbol to "No staged files found." message ([1e7298a](https://togithub.com/okonet/lint-staged/commit/1e7298a23c3c2d09810f6e1a54ead8a449d7fd7d)) - force src and dst prefixes in diff to work around local diff.noprefix setting ([7f2ef33](https://togithub.com/okonet/lint-staged/commit/7f2ef33dde170e83a8943886a4f1502113dcb50c)) - unset GIT_LITERAL_PATHSPECS env variable before running ([a653c55](https://togithub.com/okonet/lint-staged/commit/a653c55a397e7e6f04fa5aefb0ddf2c7543569d9)) ##### Features - add `--no-stash` option to disable the backup stash, and not revert in case of errors ([c386e4c](https://togithub.com/okonet/lint-staged/commit/c386e4cf9646dc0953213e9a0ef857cb9664af37)) - only hide/restore unstaged modifications to partially staged files ([52125a9](https://togithub.com/okonet/lint-staged/commit/52125a9d557e3fc117a421662cf45d6462517d87)) ### [`v10.0.10`](https://togithub.com/okonet/lint-staged/releases/v10.0.10) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.9...v10.0.10) ##### Bug Fixes - support non-ASCII filenames when git is configured with `core.quotepath on` ([2cb26a6](https://togithub.com/okonet/lint-staged/commit/2cb26a635a313a32c208caf5ba6a9215a68b9c6d)) ### [`v10.0.9`](https://togithub.com/okonet/lint-staged/releases/v10.0.9) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.8...v10.0.9) ##### Bug Fixes - use `path.join` and `normalize` to improve msys compatibility in resolveGitRepo ([1ad263a](https://togithub.com/okonet/lint-staged/commit/1ad263a5c03d0f3fd90f2dffd0d9083f0ef8112e)) ### [`v10.0.8`](https://togithub.com/okonet/lint-staged/releases/v10.0.8) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.7...v10.0.8) ##### Bug Fixes - do not drop backup stash when reverting to original state fails ([f589336](https://togithub.com/okonet/lint-staged/commit/f5893365409bf935db058a4f41aeaccc90cd3a18)) - evaluate functional configuration only once ([abe4b92](https://togithub.com/okonet/lint-staged/commit/abe4b92d7f6213b59d756d172298bc29bb2bd44c)) ### [`v10.0.7`](https://togithub.com/okonet/lint-staged/releases/v10.0.7) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.6...v10.0.7) ##### Bug Fixes - replace fs.promises with util.promisify ([#786](https://togithub.com/okonet/lint-staged/issues/786)) ([f71c1c9](https://togithub.com/okonet/lint-staged/commit/f71c1c9ad2d27205199171bf3dc0e908889ba384)) ### [`v10.0.6`](https://togithub.com/okonet/lint-staged/releases/v10.0.6) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.5...v10.0.6) ##### Bug Fixes - make sure deleted files aren't restored due to git bugs ([#778](https://togithub.com/okonet/lint-staged/issues/778)) ([6bfbe6c](https://togithub.com/okonet/lint-staged/commit/6bfbe6c204e351bd7055c5ecc810e1f9074304da)) ### [`v10.0.5`](https://togithub.com/okonet/lint-staged/releases/v10.0.5) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.4...v10.0.5) ##### Bug Fixes - always resolve real git config dir location if .git is a file ([#784](https://togithub.com/okonet/lint-staged/issues/784)) ([b98a5ed](https://togithub.com/okonet/lint-staged/commit/b98a5ed8d422f637af4157a157676a70e3f1981a)) ### [`v10.0.4`](https://togithub.com/okonet/lint-staged/releases/v10.0.4) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.3...v10.0.4) ##### Bug Fixes - use verbose renderer when TERM=dumb ([#782](https://togithub.com/okonet/lint-staged/issues/782)) ([9c08e8e](https://togithub.com/okonet/lint-staged/commit/9c08e8ee0bdf00de7dc6e15cd660e6fc55129832)) ### [`v10.0.3`](https://togithub.com/okonet/lint-staged/releases/v10.0.3) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.2...v10.0.3) ##### Bug Fixes - correctly restore untracked files after running ([#780](https://togithub.com/okonet/lint-staged/issues/780)) ([4010db0](https://togithub.com/okonet/lint-staged/commit/4010db09f6d168af677bd4ca1c815ba40460ae80)) ### [`v10.0.2`](https://togithub.com/okonet/lint-staged/releases/v10.0.2) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.1...v10.0.2) ##### Bug Fixes - only warn about git add when it's the exact command ([24febb3](https://togithub.com/okonet/lint-staged/commit/24febb3c906dd84f8ee19bae74509e42db034380)) - parse command string with string-argv unless --shell is used ([4cb4dde](https://togithub.com/okonet/lint-staged/commit/4cb4ddee0c6b6500eefd20eb3d1bad249d51b96a)) - print a better warning when the initial commit is missing ([293547d](https://togithub.com/okonet/lint-staged/commit/293547d46080eac007393709a0d63a63f2063fff)) ### [`v10.0.1`](https://togithub.com/okonet/lint-staged/releases/v10.0.1) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v10.0.0...v10.0.1) ##### Bug Fixes - preserve merge states in submodules ([#769](https://togithub.com/okonet/lint-staged/issues/769)) ([e646b2c](https://togithub.com/okonet/lint-staged/commit/e646b2c46ad34344b526462200471fa47dcc398f)) ### [`v10.0.0`](https://togithub.com/okonet/lint-staged/releases/v10.0.0) [Compare Source](https://togithub.com/okonet/lint-staged/compare/v9.5.0...v10.0.0) ##### Bug Fixes - add all modified files to git index with `git add .` ([bf532c2](https://togithub.com/okonet/lint-staged/commit/bf532c2af9dbd3514b16768a106fea82ddc99923)) - automatically add modifications only to originally staged files ([083b8e7](https://togithub.com/okonet/lint-staged/commit/083b8e7d67307a177d427d694ead22cb0c95b0ca)) - better workaround for git stash --keep-index bug ([f3ae378](https://togithub.com/okonet/lint-staged/commit/f3ae378aa8d7207f990c4ffec854cc8da4d38b1d)) - correctly leave only staged files for running tasks ([cfde9ca](https://togithub.com/okonet/lint-staged/commit/cfde9ca64bed7fa236eda69e63478c536f9f9068)) - correctly recover when unstaged changes cannot be restored ([d091f71](https://togithub.com/okonet/lint-staged/commit/d091f71ff50b1eddc59e759b1b09a95ed613c4d2)) - correctly restore untracked files from backup stash ([c7d0592](https://togithub.com/okonet/lint-staged/commit/c7d05922b24524707795c4045339801c86affe9d)) - error handling skips dropping backup stash after internal git errors ([30b4809](https://togithub.com/okonet/lint-staged/commit/30b480925a313f5c2b614eb40eb1a340a6cefae5)) - fail with a message when backup stash is missing ([1b64239](https://togithub.com/okonet/lint-staged/commit/1b64239163f5560b7235843909a9d30ff7ca1b83)) - gitWorkflow handles active merge mode ([2f1e886](https://togithub.com/okonet/lint-staged/commit/2f1e886cba422844b0496a96696dae5296835862)) - handle git MERGE_\* files separately; improve error handling ([da22cf2](https://togithub.com/okonet/lint-staged/commit/da22cf22bbd21be98a73b880a4ce43dbd0129021)) - improve debug logging ([f88e226](https://togithub.com/okonet/lint-staged/commit/f88e22619b8dea4fbcda3d57a85ca9d1be152908)) - keep untracked files around by backing them up ([fc03fdc](https://togithub.com/okonet/lint-staged/commit/fc03fdc2e869384eb2d6423ff31f84e3cf22007e)) - max arg length is by default half of the allowed to prevent edge cases ([80406c2](https://togithub.com/okonet/lint-staged/commit/80406c20fd3d1a86b0a0558c10f6747b2b47698e)) - prevent Listr from hiding git add warning ([cce9809](https://togithub.com/okonet/lint-staged/commit/cce9809a2ce335a3b2c3f44e4c521270b13f9d4c)) - restore metadata about git merge before running tasks ([f8ddfc2](https://togithub.com/okonet/lint-staged/commit/f8ddfc22d22fec2b417a67249573e7cd6abdb9fc)) - retry failing apply with 3-way merge ([76cb08f](https://togithub.com/okonet/lint-staged/commit/76cb08f6eecd68f3ae7e606216b4c5fdc1da94f0)) - support binary files ([7b3a334](https://togithub.com/okonet/lint-staged/commit/7b3a334ac33ffe1bda930583a055fb1db0b6d181)) - try applying unstaged changes before handling errors ([357934f](https://togithub.com/okonet/lint-staged/commit/357934fe1e193040d1a138d3d138da1377004be2)) - update warning about git add, and to README ([6467a66](https://togithub.com/okonet/lint-staged/commit/6467a66b13657f1a39b0f1f3a079dc31a8461fe9)) - workaround for stashing deleted files for git < 2.23 ([1a87333](https://togithub.com/okonet/lint-staged/commit/1a87333f9ee0704b3bb332bf5fbc11dbd25f7821)) ##### Features - automatically stage task modifications ([74ed28d](https://togithub.com/okonet/lint-staged/commit/74ed28d5edc70c66d769f7658b90b550029a2acf)) - bump Node.js version dependency to at least 10.13.0 ([#747](https://togithub.com/okonet/lint-staged/issues/747)) ([814b9df](https://togithub.com/okonet/lint-staged/commit/814b9dfe131f55c18a8996f775dd5dd582d0a766)) - split tasks into chunks to support shells with limited max argument length ([#732](https://togithub.com/okonet/lint-staged/issues/732)) ([cb43872](https://togithub.com/okonet/lint-staged/commit/cb43872fb6c05366a8fc25a8bd889b95918f45a3)) - support async function tasks ([20d5c5d](https://togithub.com/okonet/lint-staged/commit/20d5c5d4cb92f9a4c501e5308cc51379d10581a8)) - throw error to prevent empty commits unless --allow-empty is used ([#762](https://togithub.com/okonet/lint-staged/issues/762)) ([8bdeec0](https://togithub.com/okonet/lint-staged/commit/8bdeec067f425150722bd0ee78e310e0992a1444)) - use git stashes for gitWorkflow ([40a5db1](https://togithub.com/okonet/lint-staged/commit/40a5db1f6b1ad17b5a593974b6db93015f50824c)) - warn when task contains "git add" ([5208399](https://togithub.com/okonet/lint-staged/commit/52083990166cbea3bfe3d316ad6598c6c198fe1e)) ##### 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. - Node.js v8 is no longer supported because it will reach EOL on 2019-12-31 - Prior to version 10, tasks had to manually include `git add` as the final step. This behavior has been integrated into lint-staged itself in order to prevent race conditions with multiple tasks editing the same files. If lint-staged detects `git add` in task configurations, it will show a warning in the console. Please remove `git add` from your configuration after upgrading.Configuration
📅 Schedule: 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.