Skip to content

Releases: lint-staged/lint-staged

v15.2.2

05 Feb 14:26
Compare
Choose a tag to compare

Patch Changes

  • #1391 fdcdad4 Thanks @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

31 Jan 07:45
Compare
Choose a tag to compare

Patch Changes

  • #1387 e4023f6 Thanks @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

03 Dec 17:26
Compare
Choose a tag to compare

Minor Changes

  • #1371 f3378be Thanks @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 17bc480 Thanks @antonk52! - update lilconfig@3.0.0

  • #1368 7c55ca9 Thanks @iiroj! - Update most dependencies

  • #1368 777d4e9 Thanks @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 85eb0dd Thanks @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

11 Nov 15:24
Compare
Choose a tag to compare

Minor Changes

  • #1344 0423311 Thanks @danielbayley! - Add support for loading configuration from package.yaml and package.yml files, supported by pnpm.

Patch Changes

v15.0.2

19 Oct 10:23
2ca6652
Compare
Choose a tag to compare

Patch Changes

  • #1339 8e82364 Thanks @iiroj! - Update dependencies, including listr2@7.0.2 to fix an upstream issue affecting lint-staged.

v15.0.1

15 Oct 07:23
Compare
Choose a tag to compare

Patch Changes

  • #1217 d2e6f8b Thanks @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

14 Oct 18:04
Compare
Choose a tag to compare

Major Changes

  • #1322 66b93aa Thanks @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

21 Aug 09:48
fc3bfea
Compare
Choose a tag to compare

14.0.1 (2023-08-21)

Bug Fixes

  • fix reading config from stdin, introduced in v14.0.0 (#1317) (fc3bfea)

v14.0.0

13 Aug 20:39
9da8777
Compare
Choose a tag to compare

14.0.0 (2023-08-13)

Features

BREAKING CHANGES

  • Please upgrade your Node.js version to at least 16.14.0.

v13.3.0

13 Aug 16:50
f895e97
Compare
Choose a tag to compare

13.3.0 (2023-08-13)

Maintainer's note: Version v13.3.0 was incorrectly released including code of version v14.0.0. This means the breaking changes of v14 are also included in v13.3.0, the last v13 version released

Bug Fixes

  • dependencies: update most dependencies (7443870)
  • detect duplicate redundant braces in pattern (d895aa8)

Features

  • dependencies: update listr2@6.6.0 (09844ca)