lint-staged/lint-staged (lint-staged)
### [`v15.2.10`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#15210)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.9...v15.2.10)
##### Patch Changes
- [#1471](https://redirect.github.com/lint-staged/lint-staged/pull/1471) [`e3f283b`](https://redirect.github.com/lint-staged/lint-staged/commit/e3f283b250868b7c15ceb54d2a51b2e5fb3a18a9) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Update minor dependencies, including `micromatch@~4.0.8`.
### [`v15.2.9`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1529)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.8...v15.2.9)
##### Patch Changes
- [#1463](https://redirect.github.com/lint-staged/lint-staged/pull/1463) [`b69ce2d`](https://redirect.github.com/lint-staged/lint-staged/commit/b69ce2ddfd5a7ae576f4fef4afc60b8a81f3c945) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Set the maximum number of event listeners to the number of tasks. This should silence the console warning `MaxListenersExceededWarning: Possible EventEmitter memory leak detected`.
### [`v15.2.8`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1528)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.7...v15.2.8)
##### Patch Changes
- [`f0480f0`](https://redirect.github.com/lint-staged/lint-staged/commit/f0480f01b24b9f6443a12515d413a7ba4dda3981) Thanks [@iiroj](https://redirect.github.com/iiroj)! - In the previous version the native `git rev-parse --show-toplevel` command was taken into use for resolving the current git repo root. This version switched the `--show-toplevel` flag with `--show-cdup`, because on Git installed via MSYS2 the former was returning absolute paths that do not work with Node.js `child_process`. The new flag returns a path relative to the working directory, avoiding the issue.
The GitHub Actions workflow has been updated to install Git via MSYS2, to ensure better future compatibility; using the default Git binary in the GitHub Actions runner was working correctly even with MSYS2.
### [`v15.2.7`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1527)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.6...v15.2.7)
##### Patch Changes
- [#1440](https://redirect.github.com/lint-staged/lint-staged/pull/1440) [`a51be80`](https://redirect.github.com/lint-staged/lint-staged/commit/a51be804b63307ac7af3c82f4cb2d43dbe92daac) Thanks [@iiroj](https://redirect.github.com/iiroj)! - In the previous version the native `git rev-parse --show-toplevel` command was taken into use for resolving the current git repo root. This version drops the `--path-format=absolute` option to support earlier git versions since it's also the default behavior. If you are still having trouble, please try upgrading `git` to the latest version.
### [`v15.2.6`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1526)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.5...v15.2.6)
##### Patch Changes
- [#1433](https://redirect.github.com/lint-staged/lint-staged/pull/1433) [`119adb2`](https://redirect.github.com/lint-staged/lint-staged/commit/119adb29854cabddbfcf0469d7c8a0126184a5d4) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Use native "git rev-parse" commands to determine git repo root directory and the .git config directory, instead of using custom logic. This hopefully makes path resolution more robust on non-POSIX systems.
### [`v15.2.5`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1525)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.4...v15.2.5)
##### Patch Changes
- [#1424](https://redirect.github.com/lint-staged/lint-staged/pull/1424) [`31a1f95`](https://redirect.github.com/lint-staged/lint-staged/commit/31a1f9548ea8202bc5bd718076711f747396e3ca) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Allow approximately equivalent versions of direct dependencies by using the "~" character in the version ranges. This means a more recent patch version of a dependency is allowed if available.
- [#1423](https://redirect.github.com/lint-staged/lint-staged/pull/1423) [`91abea0`](https://redirect.github.com/lint-staged/lint-staged/commit/91abea0d298154d92113ba34bae4020704e22918) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Improve error logging when failing to read or parse a configuration file
- [#1424](https://redirect.github.com/lint-staged/lint-staged/pull/1424) [`ee43f15`](https://redirect.github.com/lint-staged/lint-staged/commit/ee43f154097753dd5448766f792387e60e0ea453) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Upgrade micromatch@4.0.7
### [`v15.2.4`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1524)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.2...v15.2.4)
##### Patch Changes
- [`4f4537a`](https://redirect.github.com/lint-staged/lint-staged/commit/4f4537a75ebfba816826f6f67a325dbc7f25908a) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Fix release issue with previous version; update dependencies
### [`v15.2.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1522)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.1...v15.2.2)
##### Patch Changes
- [#1391](https://redirect.github.com/lint-staged/lint-staged/pull/1391) [`fdcdad4`](https://redirect.github.com/lint-staged/lint-staged/commit/fdcdad42ff96fea3c05598e378d3c44ad4a51bde) Thanks [@iiroj](https://redirect.github.com/iiroj)! - *Lint-staged* no longer tries to load configuration from files that are not checked out. This might happen when using sparse-checkout.
### [`v15.2.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1521)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.0...v15.2.1)
##### Patch Changes
- [#1387](https://redirect.github.com/lint-staged/lint-staged/pull/1387) [`e4023f6`](https://redirect.github.com/lint-staged/lint-staged/commit/e4023f687616dcf4816545b8eefbcce50e255c9c) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Ignore stdin of spawned commands so that they don't get stuck waiting. Until now, *lint-staged* has used the default settings to spawn linter commands. This means the `stdin` of the spawned commands has accepted input, and essentially gotten stuck waiting. Now the `stdin` is ignored and commands will no longer get stuck. If you relied on this behavior, please open a new issue and describe how; the behavior has not been intended.
### [`v15.2.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1520)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.1.0...v15.2.0)
##### Minor Changes
- [#1371](https://redirect.github.com/lint-staged/lint-staged/pull/1371) [`f3378be`](https://redirect.github.com/lint-staged/lint-staged/commit/f3378be894fb84800341800b1e4f6f8bc8dfd904) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Using the `--no-stash` flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss. This fix is available with a new flag `--no-hide-partially-staged` that is automatically enabled when `--no-stash` is used.
##### Patch Changes
- [#1362](https://redirect.github.com/lint-staged/lint-staged/pull/1362) [`17bc480`](https://redirect.github.com/lint-staged/lint-staged/commit/17bc480c0f8767407a87527931558de8d1d1551d) Thanks [@antonk52](https://redirect.github.com/antonk52)! - update lilconfig@3.0.0
- [#1368](https://redirect.github.com/lint-staged/lint-staged/pull/1368) [`7c55ca9`](https://redirect.github.com/lint-staged/lint-staged/commit/7c55ca9f410043016e8b33b3b523b9b7e764acf4) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Update most dependencies
- [#1368](https://redirect.github.com/lint-staged/lint-staged/pull/1368) [`777d4e9`](https://redirect.github.com/lint-staged/lint-staged/commit/777d4e976852af4c181ffbe055f3531343349695) Thanks [@iiroj](https://redirect.github.com/iiroj)! - To improve performance, only use `lilconfig` when searching for config files outside the git repo. In the regular case, *lint-staged* finds the config files from the Git index and loads them directly.
- [#1373](https://redirect.github.com/lint-staged/lint-staged/pull/1373) [`85eb0dd`](https://redirect.github.com/lint-staged/lint-staged/commit/85eb0ddab1eba0c0bcc8cc109e17dc2bbb3d044e) Thanks [@iiroj](https://redirect.github.com/iiroj)! - When determining git directory, use `fs.realpath()` only for symlinks. It looks like `fs.realpath()` changes some Windows mapped network filepaths unexpectedly, causing issues.
### [`v15.1.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1510)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.0.2...v15.1.0)
##### Minor Changes
- [#1344](https://redirect.github.com/lint-staged/lint-staged/pull/1344) [`0423311`](https://redirect.github.com/lint-staged/lint-staged/commit/04233115a5e25d6fa7d357cbe9d42173ae8a1acf) Thanks [@danielbayley](https://redirect.github.com/danielbayley)! - Add support for loading configuration from `package.yaml` and `package.yml` files, supported by `pnpm`.
##### Patch Changes
- [#1355](https://redirect.github.com/lint-staged/lint-staged/pull/1355) [`105d901`](https://redirect.github.com/lint-staged/lint-staged/commit/105d9012fc92fca549987816406450075cf255f3) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Suppress some warnings when using the "--quiet" flag
### [`v15.0.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1502)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.0.1...v15.0.2)
##### Patch Changes
- [#1339](https://redirect.github.com/lint-staged/lint-staged/pull/1339) [`8e82364`](https://redirect.github.com/lint-staged/lint-staged/commit/8e82364dd89155e96de574cfb38a94d28b8635af) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Update dependencies, including listr2@7.0.2 to fix an upstream issue affecting lint-staged.
### [`v15.0.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1501)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.0.0...v15.0.1)
##### Patch Changes
- [#1217](https://redirect.github.com/lint-staged/lint-staged/pull/1217) [`d2e6f8b`](https://redirect.github.com/lint-staged/lint-staged/commit/d2e6f8b1e1cd84ba6eb2f3f6a7f650c882987041) Thanks [@louneskmt](https://redirect.github.com/louneskmt)! - Previously it was possible for a function task to mutate the list of staged files passed to the function, and accidentally affect the generation of other tasks. This is now fixed by passing a copy of the original file list instead.
### [`v15.0.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1500)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v14.0.1...v15.0.0)
##### Major Changes
- [#1322](https://redirect.github.com/okonet/lint-staged/pull/1322) [`66b93aa`](https://redirect.github.com/okonet/lint-staged/commit/66b93aac870d155ca81302b2574617da99409ca7) Thanks [@iiroj](https://redirect.github.com/iiroj)! - **Require at least Node.js 18.12.0**
This release drops support for Node.js 16, which is EOL after 2023-09-11.
Please upgrade your Node.js to the latest version.
Additionally, all dependencies have been updated to their latest versions.
### [`v14.0.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1401---21-Aug-2023)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v14.0.0...v14.0.1)
##### Bug Fixes
- fix reading config from stdin, introduced in v14.0.0 ([#1317](https://redirect.github.com/okonet/lint-staged/issues/1317)) ([fc3bfea](https://redirect.github.com/okonet/lint-staged/commit/fc3bfeabae29b65f99b6911a989b0b41d3d1128e))
### [`v14.0.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1400---13-Aug-2023)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.3.0...v14.0.0)
##### Features
- drop support for Node.js 14 ([#1312](https://redirect.github.com/okonet/lint-staged/issues/1312)) ([9da8777](https://redirect.github.com/okonet/lint-staged/commit/9da877711a7547b9122c6af91683fb2a2f398184))
##### BREAKING CHANGES
- Please upgrade your Node.js version to at least `16.14.0`.
### [`v13.3.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1330---13-Aug-2023)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.2.3...v13.3.0)
##### Bug Fixes
- **dependencies:** update most dependencies ([7443870](https://redirect.github.com/okonet/lint-staged/commit/7443870b2c24ead8613295cbfa1fe80f96167e1c))
- detect duplicate redundant braces in pattern ([d895aa8](https://redirect.github.com/okonet/lint-staged/commit/d895aa8382b769f841c6bdc52ba59755bb0ed28b))
##### Features
- **dependencies:** update `listr2@6.6.0` ([09844ca](https://redirect.github.com/okonet/lint-staged/commit/09844ca3f6b99feba8f3c0ea10e60a6e6df511ad))
### [`v13.2.3`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1323---28-Jun-2023)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.2.2...v13.2.3)
##### Bug Fixes
- the `--diff` option implies `--no-stash` ([66a716d](https://redirect.github.com/okonet/lint-staged/commit/66a716d5a32c49f03b9a34350fec1b2411bada17))
### [`v13.2.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1322---26-Apr-2023)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.2.1...v13.2.2)
##### Bug Fixes
- **dependencies:** update `yaml@2.2.2` (GHSA-f9xv-q969-pqx4) ([#1290](https://redirect.github.com/okonet/lint-staged/issues/1290)) ([cf691aa](https://redirect.github.com/okonet/lint-staged/commit/cf691aa188719d9479ceaeffbffe814594fdb65f))
### [`v13.2.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1321---07-Apr-2023)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.2.0...v13.2.1)
##### Bug Fixes
- ignore "package.json" as config file when it's invalid JSON ([#1281](https://redirect.github.com/okonet/lint-staged/issues/1281)) ([e7ed6f7](https://redirect.github.com/okonet/lint-staged/commit/e7ed6f741d2ea0f084b06f3e1ac3d1d57fadf737))
### [`v13.2.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1320---10-Mar-2023)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/c01d9524f6bcec8180e6f870f0c86ae3f77ab76a...v13.2.0)
##### Bug Fixes
- **dependencies:** replace `colorette` with `chalk` for better color support detection ([f598725](https://redirect.github.com/okonet/lint-staged/commit/f5987252ae59537727a93373b59ab47bc2651a2f))
- use index-based stash references for improved MSYS2 compatibility ([#1270](https://redirect.github.com/okonet/lint-staged/issues/1270)) ([60fcd99](https://redirect.github.com/okonet/lint-staged/commit/60fcd99451b88336a05ebbe71cda8909d2733ad7))
##### Features
- version bump only ([#1275](https://redirect.github.com/okonet/lint-staged/issues/1275)) ([05fb382](https://redirect.github.com/okonet/lint-staged/commit/05fb3829faa5437276d98450c34699fecfc8c1c8))
### [`v13.1.4`](https://redirect.github.com/lint-staged/lint-staged/compare/da6da00654248c34e4f7ce94f61d68ee46f177a1...c01d9524f6bcec8180e6f870f0c86ae3f77ab76a)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/da6da00654248c34e4f7ce94f61d68ee46f177a1...c01d9524f6bcec8180e6f870f0c86ae3f77ab76a)
### [`v13.1.3`](https://redirect.github.com/lint-staged/lint-staged/compare/v13.1.2...da6da00654248c34e4f7ce94f61d68ee46f177a1)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.1.2...da6da00654248c34e4f7ce94f61d68ee46f177a1)
### [`v13.1.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1312---13-Feb-2023)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.1.1...v13.1.2)
##### Bug Fixes
- disable stash by default when using diff option ([#1259](https://redirect.github.com/okonet/lint-staged/issues/1259)) ([142c6f2](https://redirect.github.com/okonet/lint-staged/commit/142c6f225087207ec4c63b7847795857d567ce40))
### [`v13.1.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1311---07-Feb-2023)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.1.0...v13.1.1)
##### Bug Fixes
- allow re-enabling `--stash` when using the `--diff` option ([99390c3](https://redirect.github.com/okonet/lint-staged/commit/99390c31a856154e380f04d5c3603d2e6428f1e5))
### [`v13.1.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1310---04-Dec-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.0.4...v13.1.0)
##### Features
- expose cli entrance from "lint-staged/bin" ([#1237](https://redirect.github.com/okonet/lint-staged/issues/1237)) ([eabf1d2](https://redirect.github.com/okonet/lint-staged/commit/eabf1d217d8bd2559b1087c92b5ec9b15b8ffa7e))
### [`v13.0.4`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1304---25-Nov-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.0.3...v13.0.4)
##### Bug Fixes
- **deps:** update all dependencies ([336f3b5](https://redirect.github.com/okonet/lint-staged/commit/336f3b513a8b36579165b2e6fb6e7059b988fe84))
- **deps:** update all dependencies ([ec995e5](https://redirect.github.com/okonet/lint-staged/commit/ec995e53fb173f2863cb3cc08a92ffa9252dc25d))
### [`v13.0.3`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1303---24-Jun-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.0.2...v13.0.3)
##### Bug Fixes
- correctly handle git stash when using MSYS2 ([#1178](https://redirect.github.com/okonet/lint-staged/issues/1178)) ([0d627a5](https://redirect.github.com/okonet/lint-staged/commit/0d627a52846d63cd6fc6018a8d7779ef454a99b2))
### [`v13.0.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1302---16-Jun-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.0.1...v13.0.2)
##### Bug Fixes
- use new `--diff` and `--diff-filter` options when checking task modifications ([1a5a66a](https://redirect.github.com/okonet/lint-staged/commit/1a5a66a9574e2a8b857bd62545a6f2a6da5811aa))
### [`v13.0.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1301---08-Jun-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.0.0...v13.0.1)
##### Bug Fixes
- correct spelling of "0 files" ([f27f1d4](https://redirect.github.com/okonet/lint-staged/commit/f27f1d45ea20904e81dda155a802b2eb07d50942))
- suppress error from `process.kill` when killing tasks on failure ([f2c6bdd](https://redirect.github.com/okonet/lint-staged/commit/f2c6bdd9114a8d5ba8473cc647ef55a6ee5664e1))
- **deps:** update pidtree@^0.6.0 to fix screen size error in WSL ([1a77e42](https://redirect.github.com/okonet/lint-staged/commit/1a77e4224a273bbc192b654d0a0120187e850a61))
- ignore "No matching pid found" error ([cb8a432](https://redirect.github.com/okonet/lint-staged/commit/cb8a4328eddbc99a0806276f68b55f6c5ecb3d8a))
- prevent possible race condition when killing tasks on failure ([bc92aff](https://redirect.github.com/okonet/lint-staged/commit/bc92aff5fdb6293045c556326df3c0529e59b7e3))
##### Performance Improvements
- use `EventsEmitter` instead of `setInterval` for killing tasks on failure ([c508b46](https://redirect.github.com/okonet/lint-staged/commit/c508b46a153970114495d3f7fef05d45df0f2e10))
### [`v13.0.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1300---01-Jun-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.5.0...v13.0.0)
##### Bug Fixes
- **deps:** update `execa@^6.1.0` ([659c85c](https://redirect.github.com/okonet/lint-staged/commit/659c85c5cd4c4040a505bbe9fddbe7d416ac15c8))
- **deps:** update `yaml@^2.1.1` ([2750a3d](https://redirect.github.com/okonet/lint-staged/commit/2750a3d9d909fd834b95da752f0f6800340922b7))
##### Features
- remove support for Node.js 12 ([5fb6df9](https://redirect.github.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://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1250---31-May-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.4.3...v12.5.0)
##### Bug Fixes
- include all files when using `--config ` ([641d1c2](https://redirect.github.com/okonet/lint-staged/commit/641d1c2fd00992e926ae07defbb98c4d324f3b13))
- skip backup stash when using the `--diff` option ([d4da24d](https://redirect.github.com/okonet/lint-staged/commit/d4da24d90cfa85ef8589a5f8c6ba5f51c3b45275))
##### Features
- add `--diff-filter` option for overriding list of (staged) files ([753ef72](https://redirect.github.com/okonet/lint-staged/commit/753ef7281562e0a25a9fe01400d7108143116b39))
- add `--diff` option for overriding list of (staged) files ([35fcce9](https://redirect.github.com/okonet/lint-staged/commit/35fcce9040c8de2926a9113d09f13517e6b23a2e))
### [`v12.4.3`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1243---30-May-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.4.2...v12.4.3)
##### Bug Fixes
- **deps:** downgrade yaml@1.10.2 to support Node.js 12 ([383a96e](https://redirect.github.com/okonet/lint-staged/commit/383a96e17a21d10278e91ecdb8d80385886ce82f))
- **deps:** update commander@^9.2.0 ([22ebf52](https://redirect.github.com/okonet/lint-staged/commit/22ebf524e20b2bf239e22fab83df3edc76327394))
- **deps:** update yaml@^2.0.1 ([ec73af0](https://redirect.github.com/okonet/lint-staged/commit/ec73af0ddb3541f5a12e0c83b6112ab747d05d73))
### [`v12.4.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1242---24-May-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.4.1...v12.4.2)
##### Bug Fixes
- correctly handle --max-arg-length cli option ([1db5f26](https://redirect.github.com/okonet/lint-staged/commit/1db5f2651d7f41c56f3ee1eacb57f1be1566bce2))
### [`v12.4.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1241---26-Apr-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.4.0...v12.4.1)
##### Bug Fixes
- correctly handle symlinked config files ([b3f63ec](https://redirect.github.com/okonet/lint-staged/commit/b3f63ec43c04158e0ba00f541aa8ffb609d037d9))
### [`v12.4.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1240---20-Apr-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.3.8...v12.4.0)
##### Bug Fixes
- handle empty input by returning empty array from `parseGitZOutput` ([a118817](https://redirect.github.com/okonet/lint-staged/commit/a118817189a5b41168179fe7268903b1d7f4413a))
- limit configuration discovery to cwd ([d8fdf1d](https://redirect.github.com/okonet/lint-staged/commit/d8fdf1d9232fde6d65e6b1f4313edbf8d32f9dcb))
- restore functionality of parent globs for a single configuration file ([877ab4c](https://redirect.github.com/okonet/lint-staged/commit/877ab4cc66dfa51f5d8d14c89aeadc3ea41a1916))
##### Features
- expose `--max-arg-length` cli option ([e8291b0](https://redirect.github.com/okonet/lint-staged/commit/e8291b03fa3f3210795b808f40b9a11968f2d988))
### [`v12.3.8`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1238---15-Apr-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.3.7...v12.3.8)
##### Bug Fixes
- avoid passing unexpected arguments from forEach to process.kill() ([1b1f0e4](https://redirect.github.com/okonet/lint-staged/commit/1b1f0e4f529dbcb5f73ab7d49c5f7908c3b8a866))
- clear execution interruption interval on first catch ([46952cb](https://redirect.github.com/okonet/lint-staged/commit/46952cb0306bb5b54d839f63aecff7288389b195))
### [`v12.3.7`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1237---17-Mar-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.3.6...v12.3.7)
##### Bug Fixes
- improve renderer logic for `--silent` and `FORCE_COLOR` settings ([d327873](https://redirect.github.com/okonet/lint-staged/commit/d327873b1c0b6fbdeb6fd276e523043d51d6de37))
### [`v12.3.6`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1236---16-Mar-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.3.5...v12.3.6)
##### Bug Fixes
- kill other running tasks on failure ([#1117](https://redirect.github.com/okonet/lint-staged/issues/1117)) ([34fe319](https://redirect.github.com/okonet/lint-staged/commit/34fe31986201983c33ea2bde41f4b451947b826b))
### [`v12.3.5`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1235---05-Mar-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.3.4...v12.3.5)
##### Bug Fixes
- search all configs regardless of staged files ([4b605cd](https://redirect.github.com/okonet/lint-staged/commit/4b605cd3694cc5bfcf6c5a1a2e75c80ef234ab1a))
### [`v12.3.4`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1234---13-Feb-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.3.3...v12.3.4)
##### Bug Fixes
- add `package.json` to exports ([#1059](https://redirect.github.com/okonet/lint-staged/issues/1059)) ([3395150](https://redirect.github.com/okonet/lint-staged/commit/339515010ccd95a2f952dbe65f8366463f94d26a))
### [`v12.3.3`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1233---01-Feb-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.3.2...v12.3.3)
##### Bug Fixes
- use config directory as cwd, when multiple configs present ([#1091](https://redirect.github.com/okonet/lint-staged/issues/1091)) ([9a14e92](https://redirect.github.com/okonet/lint-staged/commit/9a14e92e37abf658fc3a0d5504ff4e980e49996c))
### [`v12.3.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1232---26-Jan-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.3.1...v12.3.2)
##### Bug Fixes
- handle symlinked .git directories ([3a897ff](https://redirect.github.com/okonet/lint-staged/commit/3a897ff1515bde9fc88769257f38cb2646d624fc))
### [`v12.3.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1231---23-Jan-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.3.0...v12.3.1)
##### Bug Fixes
- **deps:** update dependencies ([f190fc3](https://redirect.github.com/okonet/lint-staged/commit/f190fc31888d0a3c6f7070cb0f97edcbc7018a0e))
### [`v12.3.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1230---23-Jan-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.2.2...v12.3.0)
##### Features
- add `--cwd` option for overriding task directory ([62b5b83](https://redirect.github.com/okonet/lint-staged/commit/62b5b833950774e731b0ca034aa9289ec254a602))
### [`v12.2.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1222---20-Jan-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.2.1...v12.2.2)
##### Bug Fixes
- always search config from `cwd` first ([4afcda5](https://redirect.github.com/okonet/lint-staged/commit/4afcda5addade65ef847e3c5b0c4a38db80d020b))
### [`v12.2.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1221---19-Jan-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.2.0...v12.2.1)
##### Bug Fixes
- only throw if no configurations were found ([36b9546](https://redirect.github.com/okonet/lint-staged/commit/36b9546dda5ca24174b519ce6d132f31077b093b))
### [`v12.2.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1220---18-Jan-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.1.7...v12.2.0)
##### Bug Fixes
- make console task titles more explicit ([1c94c27](https://redirect.github.com/okonet/lint-staged/commit/1c94c2780485f3a2273f8b82db8e74ecafe258b4))
##### Features
- support multiple configuration files ([90d1035](https://redirect.github.com/okonet/lint-staged/commit/90d1035ef709329d297272e9164b0452c1ed37bd))
### [`v12.1.7`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1217---07-Jan-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.1.6...v12.1.7)
##### Bug Fixes
- resolve config modules with ESM createRequire ([#1082](https://redirect.github.com/okonet/lint-staged/issues/1082)) ([f9f6538](https://redirect.github.com/okonet/lint-staged/commit/f9f65380dc3fc6aaa5627abe92f4e26d5b7a25de))
### [`v12.1.6`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1216---07-Jan-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.1.5...v12.1.6)
##### Bug Fixes
- always run non-git tasks in the current working directory ([893f3d7](https://redirect.github.com/okonet/lint-staged/commit/893f3d7825f73115a41ddb3be34af15f4c207315))
### [`v12.1.5`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1215---02-Jan-2022)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.1.4...v12.1.5)
##### Bug Fixes
- search configuration starting from explicit cwd option ([c7ea359](https://redirect.github.com/okonet/lint-staged/commit/c7ea3594c81f7c2724a7babc8e8d57926b4679c8))
- using `--debug` option enables debug mode ([5cceeb6](https://redirect.github.com/okonet/lint-staged/commit/5cceeb65630752b646047ae88cacc48b76758f1c))
### [`v12.1.4`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1214---24-Dec-2021)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.1.3...v12.1.4)
##### Bug Fixes
- use cwd option when resolving git repo root ([#1075](https://redirect.github.com/okonet/lint-staged/issues/1075)) ([a230b03](https://redirect.github.com/okonet/lint-staged/commit/a230b0350885194e5f07be667312316ad869b7fc))
### [`v12.1.3`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1213---18-Dec-2021)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.1.2...v12.1.3)
##### Bug Fixes
- **deps:** remove enquirer because it's now optional by listr2 ([96a1a29](https://redirect.github.com/okonet/lint-staged/commit/96a1a29ab49009d3d7edc98cc7344b1ac9c1cce6))
### [`v12.1.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1212---22-Nov-2021)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.1.1...v12.1.2)
##### Bug Fixes
- fix Windows JS config loading by using file:// URLs ([f20ddf9](https://redirect.github.com/okonet/lint-staged/commit/f20ddf9413bfc2f44ad099b5cb1e5f478de5d35f))
- fix YAML config loading ([0082ec2](https://redirect.github.com/okonet/lint-staged/commit/0082ec22101c8f819a8b91872b808ee81d3c4d1e))
- improve error logging in loadConfig ([e7b6412](https://redirect.github.com/okonet/lint-staged/commit/e7b6412fb128f314346e28329c17a676cf691135))
### [`v12.1.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1211---21-Nov-2021)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.1.0...v12.1.1)
##### Bug Fixes
- await for dynamic import promise when loading JS config ([e96b6d9](https://redirect.github.com/okonet/lint-staged/commit/e96b6d9674f07b4686876cb40605274577925973))
### [`v12.1.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1210---21-Nov-2021)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.0.3...v12.1.0)
##### Features
- allow loading `.js` config file with ESM syntax ([410c3ba](https://redirect.github.com/okonet/lint-staged/commit/410c3ba36972259aa5b49045b5cd565a6525382b))
- replace `cosmiconfig` with `lilconfig` + `yaml` to reduce dependencies ([e7f9fa0](https://redirect.github.com/okonet/lint-staged/commit/e7f9fa0f2e6aa5adbb1a0c31d1ceaff01b43f692))
- support loading `.mjs` config ([8d3b176](https://redirect.github.com/okonet/lint-staged/commit/8d3b176a7af75790efbcd1f63f73e7ef51f6b377))
### [`v12.0.3`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1203---18-Nov-2021)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.0.2...v12.0.3)
##### Bug Fixes
- install `enquirer` ([e01585f](https://redirect.github.com/okonet/lint-staged/commit/e01585f96d6aeef9f5f1b84df9936ce2be47d8f0))
### [`v12.0.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1202---14-Nov-2021)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.0.1...v12.0.2)
##### Bug Fixes
- remove `npm` version requirement ([#1047](https://redirect.github.com/okonet/lint-staged/issues/1047)) ([e50d6d4](https://redirect.github.com/okonet/lint-staged/commit/e50d6d4ce53d125b735009bacb3de157fb6d1f2a))
### [`v12.0.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1201---13-Nov-2021)
[Compare Source](https://redirect.github.com/lint-staged/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://redirect.github.com/okonet/lint-staged/issues/1043)) ([#1044](https://redirect.github.com/okonet/lint-staged/issues/1044)) ([9f9213d](https://redirect.github.com/okonet/lint-staged/commit/9f9213d5fbc74e3c3fb11db2a1bd239888c2960c))
### [`v12.0.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1200---13-Nov-2021)
[Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v11.2.6...v12.0.0)
##### Features
- convert to native ESM module ([#1038](https://redirect.github.com/okonet/lint-staged/issues/1038)) ([7240f61](https://redirect.github.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'
```
Configuration
π Schedule: Branch creation - At any time (no schedule defined), 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.
π 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:
11.2.6
->15.2.10
Release Notes
lint-staged/lint-staged (lint-staged)
### [`v15.2.10`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#15210) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.9...v15.2.10) ##### Patch Changes - [#1471](https://redirect.github.com/lint-staged/lint-staged/pull/1471) [`e3f283b`](https://redirect.github.com/lint-staged/lint-staged/commit/e3f283b250868b7c15ceb54d2a51b2e5fb3a18a9) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Update minor dependencies, including `micromatch@~4.0.8`. ### [`v15.2.9`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1529) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.8...v15.2.9) ##### Patch Changes - [#1463](https://redirect.github.com/lint-staged/lint-staged/pull/1463) [`b69ce2d`](https://redirect.github.com/lint-staged/lint-staged/commit/b69ce2ddfd5a7ae576f4fef4afc60b8a81f3c945) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Set the maximum number of event listeners to the number of tasks. This should silence the console warning `MaxListenersExceededWarning: Possible EventEmitter memory leak detected`. ### [`v15.2.8`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1528) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.7...v15.2.8) ##### Patch Changes - [`f0480f0`](https://redirect.github.com/lint-staged/lint-staged/commit/f0480f01b24b9f6443a12515d413a7ba4dda3981) Thanks [@iiroj](https://redirect.github.com/iiroj)! - In the previous version the native `git rev-parse --show-toplevel` command was taken into use for resolving the current git repo root. This version switched the `--show-toplevel` flag with `--show-cdup`, because on Git installed via MSYS2 the former was returning absolute paths that do not work with Node.js `child_process`. The new flag returns a path relative to the working directory, avoiding the issue. The GitHub Actions workflow has been updated to install Git via MSYS2, to ensure better future compatibility; using the default Git binary in the GitHub Actions runner was working correctly even with MSYS2. ### [`v15.2.7`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1527) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.6...v15.2.7) ##### Patch Changes - [#1440](https://redirect.github.com/lint-staged/lint-staged/pull/1440) [`a51be80`](https://redirect.github.com/lint-staged/lint-staged/commit/a51be804b63307ac7af3c82f4cb2d43dbe92daac) Thanks [@iiroj](https://redirect.github.com/iiroj)! - In the previous version the native `git rev-parse --show-toplevel` command was taken into use for resolving the current git repo root. This version drops the `--path-format=absolute` option to support earlier git versions since it's also the default behavior. If you are still having trouble, please try upgrading `git` to the latest version. ### [`v15.2.6`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1526) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.5...v15.2.6) ##### Patch Changes - [#1433](https://redirect.github.com/lint-staged/lint-staged/pull/1433) [`119adb2`](https://redirect.github.com/lint-staged/lint-staged/commit/119adb29854cabddbfcf0469d7c8a0126184a5d4) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Use native "git rev-parse" commands to determine git repo root directory and the .git config directory, instead of using custom logic. This hopefully makes path resolution more robust on non-POSIX systems. ### [`v15.2.5`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1525) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.4...v15.2.5) ##### Patch Changes - [#1424](https://redirect.github.com/lint-staged/lint-staged/pull/1424) [`31a1f95`](https://redirect.github.com/lint-staged/lint-staged/commit/31a1f9548ea8202bc5bd718076711f747396e3ca) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Allow approximately equivalent versions of direct dependencies by using the "~" character in the version ranges. This means a more recent patch version of a dependency is allowed if available. - [#1423](https://redirect.github.com/lint-staged/lint-staged/pull/1423) [`91abea0`](https://redirect.github.com/lint-staged/lint-staged/commit/91abea0d298154d92113ba34bae4020704e22918) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Improve error logging when failing to read or parse a configuration file - [#1424](https://redirect.github.com/lint-staged/lint-staged/pull/1424) [`ee43f15`](https://redirect.github.com/lint-staged/lint-staged/commit/ee43f154097753dd5448766f792387e60e0ea453) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Upgrade micromatch@4.0.7 ### [`v15.2.4`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1524) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.2...v15.2.4) ##### Patch Changes - [`4f4537a`](https://redirect.github.com/lint-staged/lint-staged/commit/4f4537a75ebfba816826f6f67a325dbc7f25908a) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Fix release issue with previous version; update dependencies ### [`v15.2.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1522) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.1...v15.2.2) ##### Patch Changes - [#1391](https://redirect.github.com/lint-staged/lint-staged/pull/1391) [`fdcdad4`](https://redirect.github.com/lint-staged/lint-staged/commit/fdcdad42ff96fea3c05598e378d3c44ad4a51bde) Thanks [@iiroj](https://redirect.github.com/iiroj)! - *Lint-staged* no longer tries to load configuration from files that are not checked out. This might happen when using sparse-checkout. ### [`v15.2.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1521) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.2.0...v15.2.1) ##### Patch Changes - [#1387](https://redirect.github.com/lint-staged/lint-staged/pull/1387) [`e4023f6`](https://redirect.github.com/lint-staged/lint-staged/commit/e4023f687616dcf4816545b8eefbcce50e255c9c) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Ignore stdin of spawned commands so that they don't get stuck waiting. Until now, *lint-staged* has used the default settings to spawn linter commands. This means the `stdin` of the spawned commands has accepted input, and essentially gotten stuck waiting. Now the `stdin` is ignored and commands will no longer get stuck. If you relied on this behavior, please open a new issue and describe how; the behavior has not been intended. ### [`v15.2.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1520) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.1.0...v15.2.0) ##### Minor Changes - [#1371](https://redirect.github.com/lint-staged/lint-staged/pull/1371) [`f3378be`](https://redirect.github.com/lint-staged/lint-staged/commit/f3378be894fb84800341800b1e4f6f8bc8dfd904) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Using the `--no-stash` flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss. This fix is available with a new flag `--no-hide-partially-staged` that is automatically enabled when `--no-stash` is used. ##### Patch Changes - [#1362](https://redirect.github.com/lint-staged/lint-staged/pull/1362) [`17bc480`](https://redirect.github.com/lint-staged/lint-staged/commit/17bc480c0f8767407a87527931558de8d1d1551d) Thanks [@antonk52](https://redirect.github.com/antonk52)! - update lilconfig@3.0.0 - [#1368](https://redirect.github.com/lint-staged/lint-staged/pull/1368) [`7c55ca9`](https://redirect.github.com/lint-staged/lint-staged/commit/7c55ca9f410043016e8b33b3b523b9b7e764acf4) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Update most dependencies - [#1368](https://redirect.github.com/lint-staged/lint-staged/pull/1368) [`777d4e9`](https://redirect.github.com/lint-staged/lint-staged/commit/777d4e976852af4c181ffbe055f3531343349695) Thanks [@iiroj](https://redirect.github.com/iiroj)! - To improve performance, only use `lilconfig` when searching for config files outside the git repo. In the regular case, *lint-staged* finds the config files from the Git index and loads them directly. - [#1373](https://redirect.github.com/lint-staged/lint-staged/pull/1373) [`85eb0dd`](https://redirect.github.com/lint-staged/lint-staged/commit/85eb0ddab1eba0c0bcc8cc109e17dc2bbb3d044e) Thanks [@iiroj](https://redirect.github.com/iiroj)! - When determining git directory, use `fs.realpath()` only for symlinks. It looks like `fs.realpath()` changes some Windows mapped network filepaths unexpectedly, causing issues. ### [`v15.1.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1510) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.0.2...v15.1.0) ##### Minor Changes - [#1344](https://redirect.github.com/lint-staged/lint-staged/pull/1344) [`0423311`](https://redirect.github.com/lint-staged/lint-staged/commit/04233115a5e25d6fa7d357cbe9d42173ae8a1acf) Thanks [@danielbayley](https://redirect.github.com/danielbayley)! - Add support for loading configuration from `package.yaml` and `package.yml` files, supported by `pnpm`. ##### Patch Changes - [#1355](https://redirect.github.com/lint-staged/lint-staged/pull/1355) [`105d901`](https://redirect.github.com/lint-staged/lint-staged/commit/105d9012fc92fca549987816406450075cf255f3) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Suppress some warnings when using the "--quiet" flag ### [`v15.0.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1502) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.0.1...v15.0.2) ##### Patch Changes - [#1339](https://redirect.github.com/lint-staged/lint-staged/pull/1339) [`8e82364`](https://redirect.github.com/lint-staged/lint-staged/commit/8e82364dd89155e96de574cfb38a94d28b8635af) Thanks [@iiroj](https://redirect.github.com/iiroj)! - Update dependencies, including listr2@7.0.2 to fix an upstream issue affecting lint-staged. ### [`v15.0.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1501) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v15.0.0...v15.0.1) ##### Patch Changes - [#1217](https://redirect.github.com/lint-staged/lint-staged/pull/1217) [`d2e6f8b`](https://redirect.github.com/lint-staged/lint-staged/commit/d2e6f8b1e1cd84ba6eb2f3f6a7f650c882987041) Thanks [@louneskmt](https://redirect.github.com/louneskmt)! - Previously it was possible for a function task to mutate the list of staged files passed to the function, and accidentally affect the generation of other tasks. This is now fixed by passing a copy of the original file list instead. ### [`v15.0.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#1500) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v14.0.1...v15.0.0) ##### Major Changes - [#1322](https://redirect.github.com/okonet/lint-staged/pull/1322) [`66b93aa`](https://redirect.github.com/okonet/lint-staged/commit/66b93aac870d155ca81302b2574617da99409ca7) Thanks [@iiroj](https://redirect.github.com/iiroj)! - **Require at least Node.js 18.12.0** This release drops support for Node.js 16, which is EOL after 2023-09-11. Please upgrade your Node.js to the latest version. Additionally, all dependencies have been updated to their latest versions. ### [`v14.0.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1401---21-Aug-2023) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v14.0.0...v14.0.1) ##### Bug Fixes - fix reading config from stdin, introduced in v14.0.0 ([#1317](https://redirect.github.com/okonet/lint-staged/issues/1317)) ([fc3bfea](https://redirect.github.com/okonet/lint-staged/commit/fc3bfeabae29b65f99b6911a989b0b41d3d1128e)) ### [`v14.0.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1400---13-Aug-2023) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.3.0...v14.0.0) ##### Features - drop support for Node.js 14 ([#1312](https://redirect.github.com/okonet/lint-staged/issues/1312)) ([9da8777](https://redirect.github.com/okonet/lint-staged/commit/9da877711a7547b9122c6af91683fb2a2f398184)) ##### BREAKING CHANGES - Please upgrade your Node.js version to at least `16.14.0`. ### [`v13.3.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1330---13-Aug-2023) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.2.3...v13.3.0) ##### Bug Fixes - **dependencies:** update most dependencies ([7443870](https://redirect.github.com/okonet/lint-staged/commit/7443870b2c24ead8613295cbfa1fe80f96167e1c)) - detect duplicate redundant braces in pattern ([d895aa8](https://redirect.github.com/okonet/lint-staged/commit/d895aa8382b769f841c6bdc52ba59755bb0ed28b)) ##### Features - **dependencies:** update `listr2@6.6.0` ([09844ca](https://redirect.github.com/okonet/lint-staged/commit/09844ca3f6b99feba8f3c0ea10e60a6e6df511ad)) ### [`v13.2.3`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1323---28-Jun-2023) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.2.2...v13.2.3) ##### Bug Fixes - the `--diff` option implies `--no-stash` ([66a716d](https://redirect.github.com/okonet/lint-staged/commit/66a716d5a32c49f03b9a34350fec1b2411bada17)) ### [`v13.2.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1322---26-Apr-2023) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.2.1...v13.2.2) ##### Bug Fixes - **dependencies:** update `yaml@2.2.2` (GHSA-f9xv-q969-pqx4) ([#1290](https://redirect.github.com/okonet/lint-staged/issues/1290)) ([cf691aa](https://redirect.github.com/okonet/lint-staged/commit/cf691aa188719d9479ceaeffbffe814594fdb65f)) ### [`v13.2.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1321---07-Apr-2023) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.2.0...v13.2.1) ##### Bug Fixes - ignore "package.json" as config file when it's invalid JSON ([#1281](https://redirect.github.com/okonet/lint-staged/issues/1281)) ([e7ed6f7](https://redirect.github.com/okonet/lint-staged/commit/e7ed6f741d2ea0f084b06f3e1ac3d1d57fadf737)) ### [`v13.2.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1320---10-Mar-2023) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/c01d9524f6bcec8180e6f870f0c86ae3f77ab76a...v13.2.0) ##### Bug Fixes - **dependencies:** replace `colorette` with `chalk` for better color support detection ([f598725](https://redirect.github.com/okonet/lint-staged/commit/f5987252ae59537727a93373b59ab47bc2651a2f)) - use index-based stash references for improved MSYS2 compatibility ([#1270](https://redirect.github.com/okonet/lint-staged/issues/1270)) ([60fcd99](https://redirect.github.com/okonet/lint-staged/commit/60fcd99451b88336a05ebbe71cda8909d2733ad7)) ##### Features - version bump only ([#1275](https://redirect.github.com/okonet/lint-staged/issues/1275)) ([05fb382](https://redirect.github.com/okonet/lint-staged/commit/05fb3829faa5437276d98450c34699fecfc8c1c8)) ### [`v13.1.4`](https://redirect.github.com/lint-staged/lint-staged/compare/da6da00654248c34e4f7ce94f61d68ee46f177a1...c01d9524f6bcec8180e6f870f0c86ae3f77ab76a) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/da6da00654248c34e4f7ce94f61d68ee46f177a1...c01d9524f6bcec8180e6f870f0c86ae3f77ab76a) ### [`v13.1.3`](https://redirect.github.com/lint-staged/lint-staged/compare/v13.1.2...da6da00654248c34e4f7ce94f61d68ee46f177a1) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.1.2...da6da00654248c34e4f7ce94f61d68ee46f177a1) ### [`v13.1.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1312---13-Feb-2023) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.1.1...v13.1.2) ##### Bug Fixes - disable stash by default when using diff option ([#1259](https://redirect.github.com/okonet/lint-staged/issues/1259)) ([142c6f2](https://redirect.github.com/okonet/lint-staged/commit/142c6f225087207ec4c63b7847795857d567ce40)) ### [`v13.1.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1311---07-Feb-2023) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.1.0...v13.1.1) ##### Bug Fixes - allow re-enabling `--stash` when using the `--diff` option ([99390c3](https://redirect.github.com/okonet/lint-staged/commit/99390c31a856154e380f04d5c3603d2e6428f1e5)) ### [`v13.1.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1310---04-Dec-2022) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.0.4...v13.1.0) ##### Features - expose cli entrance from "lint-staged/bin" ([#1237](https://redirect.github.com/okonet/lint-staged/issues/1237)) ([eabf1d2](https://redirect.github.com/okonet/lint-staged/commit/eabf1d217d8bd2559b1087c92b5ec9b15b8ffa7e)) ### [`v13.0.4`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1304---25-Nov-2022) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.0.3...v13.0.4) ##### Bug Fixes - **deps:** update all dependencies ([336f3b5](https://redirect.github.com/okonet/lint-staged/commit/336f3b513a8b36579165b2e6fb6e7059b988fe84)) - **deps:** update all dependencies ([ec995e5](https://redirect.github.com/okonet/lint-staged/commit/ec995e53fb173f2863cb3cc08a92ffa9252dc25d)) ### [`v13.0.3`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1303---24-Jun-2022) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.0.2...v13.0.3) ##### Bug Fixes - correctly handle git stash when using MSYS2 ([#1178](https://redirect.github.com/okonet/lint-staged/issues/1178)) ([0d627a5](https://redirect.github.com/okonet/lint-staged/commit/0d627a52846d63cd6fc6018a8d7779ef454a99b2)) ### [`v13.0.2`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1302---16-Jun-2022) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.0.1...v13.0.2) ##### Bug Fixes - use new `--diff` and `--diff-filter` options when checking task modifications ([1a5a66a](https://redirect.github.com/okonet/lint-staged/commit/1a5a66a9574e2a8b857bd62545a6f2a6da5811aa)) ### [`v13.0.1`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1301---08-Jun-2022) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v13.0.0...v13.0.1) ##### Bug Fixes - correct spelling of "0 files" ([f27f1d4](https://redirect.github.com/okonet/lint-staged/commit/f27f1d45ea20904e81dda155a802b2eb07d50942)) - suppress error from `process.kill` when killing tasks on failure ([f2c6bdd](https://redirect.github.com/okonet/lint-staged/commit/f2c6bdd9114a8d5ba8473cc647ef55a6ee5664e1)) - **deps:** update pidtree@^0.6.0 to fix screen size error in WSL ([1a77e42](https://redirect.github.com/okonet/lint-staged/commit/1a77e4224a273bbc192b654d0a0120187e850a61)) - ignore "No matching pid found" error ([cb8a432](https://redirect.github.com/okonet/lint-staged/commit/cb8a4328eddbc99a0806276f68b55f6c5ecb3d8a)) - prevent possible race condition when killing tasks on failure ([bc92aff](https://redirect.github.com/okonet/lint-staged/commit/bc92aff5fdb6293045c556326df3c0529e59b7e3)) ##### Performance Improvements - use `EventsEmitter` instead of `setInterval` for killing tasks on failure ([c508b46](https://redirect.github.com/okonet/lint-staged/commit/c508b46a153970114495d3f7fef05d45df0f2e10)) ### [`v13.0.0`](https://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1300---01-Jun-2022) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.5.0...v13.0.0) ##### Bug Fixes - **deps:** update `execa@^6.1.0` ([659c85c](https://redirect.github.com/okonet/lint-staged/commit/659c85c5cd4c4040a505bbe9fddbe7d416ac15c8)) - **deps:** update `yaml@^2.1.1` ([2750a3d](https://redirect.github.com/okonet/lint-staged/commit/2750a3d9d909fd834b95da752f0f6800340922b7)) ##### Features - remove support for Node.js 12 ([5fb6df9](https://redirect.github.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://redirect.github.com/lint-staged/lint-staged/blob/HEAD/CHANGELOG.md#v1250---31-May-2022) [Compare Source](https://redirect.github.com/lint-staged/lint-staged/compare/v12.4.3...v12.5.0) ##### Bug Fixes - include all files when using `--configConfiguration
π Schedule: Branch creation - At any time (no schedule defined), 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.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.