Packages

lint-staged

17.6.0 · 26 Sep 2026MIT26.8M / weekRepositoryHomepagenpmAtom feed

Your version

268 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 15.x
  2. 15.2.8

    3 Aug 2024
    • 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.

  3. 15.2.7

    12 Jun 2024
    • 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.

  4. 15.2.6

    11 Jun 2024
    • 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.

  5. 15.2.5

    25 May 2024
    • 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.

    • Improve error logging when failing to read or parse a configuration file

    • Upgrade micromatch@4.0.7

  6. 15.2.4

    21 May 2024
    • Fix release issue with previous version; update dependencies

  7. 15.2.2

    5 Feb 2024
    • Lint-staged no longer tries to load configuration from files that are not checked out. This might happen when using sparse-checkout.

  8. 15.2.1

    31 Jan 2024
    • 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.

  9. 15.2.0

    3 Dec 2023
    • 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.

    • Update lilconfig@3.0.0

    • Update most dependencies

  10. 15.1.0

    11 Nov 2023
    • Add support for loading configuration from package.yaml and package.yml files, supported by pnpm.

    • Suppress some warnings when using the "--quiet" flag

  11. 15.0.2

    19 Oct 2023

    Only updates a dependency:listr2 7.0.2

  12. 15.0.1

    15 Oct 2023
    • 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.

  13. 15.0.0

    14 Oct 2023
    • breaking

      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.

  14. 14.x
  15. 14.0.1

    21 Aug 2023

    Reading the note…

  16. 14.0.0

    13 Aug 2023
    • removed

      Drop support for Node.js 14

    • breaking

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

  17. 13.x
  18. 13.3.0

    13 Aug 2023
    • dependencies: update most dependencies

    • Detect duplicate redundant braces in pattern

    • dependencies: update listr2@6.6.0

  19. 13.2.3

    28 Jun 2023

    Reading the note…

  20. 13.2.2

    26 Apr 2023

    Reading the note…

  21. 13.2.1

    7 Apr 2023

    Reading the note…

  22. 13.2.0

    10 Mar 2023
    • dependencies: replace colorette with chalk for better color support detection

    • Use index-based stash references for improved MSYS2 compatibility

    • Version bump only

  23. 13.1.4

    6 Mar 2023

    Reading the note…

  24. 13.1.3

    5 Mar 2023

    Reading the note…

  25. 13.1.2

    13 Feb 2023

    Reading the note…

  26. 13.1.1

    7 Feb 2023

    Reading the note…

  27. 13.1.0

    4 Dec 2022
    • Expose cli entrance from "lint-staged/bin"

  28. 13.0.4

    25 Nov 2022

    Reading the note…

  29. 13.0.3

    24 Jun 2022

    Reading the note…

  30. 13.0.2

    16 Jun 2022

    Reading the note…

  31. 13.0.1

    8 Jun 2022

    Reading the note…

  32. 13.0.0

    1 Jun 2022
    • removed

      Remove support for Node.js 12

    • breaking

      lint-staged will no longer support Node.js 12, which is EOL since 30 April 2022

    • deps: update execa@^6.1.0

  33. 12.x
  34. 12.5.0

    31 May 2022

    Reading the note…

  35. 12.4.3

    30 May 2022

    Reading the note…

  36. 12.4.2

    24 May 2022

    Reading the note…

  37. 12.4.1

    26 Apr 2022

    Reading the note…

  38. 12.4.0

    20 Apr 2022

    Reading the note…

  39. 12.3.8

    15 Apr 2022

    Reading the note…

  40. 12.3.7

    17 Mar 2022

    Reading the note…

  41. 12.3.6

    16 Mar 2022

    Reading the note…

  42. 12.3.5

    5 Mar 2022

    Reading the note…

  43. 12.3.4

    13 Feb 2022

    Reading the note…

  44. 12.3.3

    1 Feb 2022

    Reading the note…

  45. 12.3.2

    26 Jan 2022

    Reading the note…

  46. 12.3.1

    23 Jan 2022

    Reading the note…

  47. 12.3.0

    23 Jan 2022

    Reading the note…

  48. 12.2.2

    20 Jan 2022

    Reading the note…

  49. 12.2.1

    19 Jan 2022

    Reading the note…

  50. 12.2.0

    18 Jan 2022

    Reading the note…

  51. 12.1.7

    7 Jan 2022

    Reading the note…

  52. 12.1.6

    7 Jan 2022

    Reading the note…

  53. 12.1.5

    2 Jan 2022

    Reading the note…

  54. 12.1.4

    24 Dec 2021

    Reading the note…