NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1744 most downloaded on npm
Lint files staged by git
Last release 8 days ago
10 Sep 2026
Release timing varies
gaps range from 8 days to 3 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
297 releases · first in 2016
This release drops support for Node.js 16, which is EOL after 2023-09-11. Please upgrade your Node.js to the latest version.
One column per quarter.
Please upgrade your Node.js version to at least 16.14.0.
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 include…
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
listr2@6.6.0 (09844ca)the --diff option implies --no-stash
dependencies: update yaml@2.2.2 (GHSA-f9xv-q969-pqx4)
ignore "package.json" as config file when it's invalid JSON
dependencies: replace colorette with chalk for better color support detection
Nothing published for this version
Nothing published for this version
disable stash by default when using diff option
allow re-enabling --stash when using the --diff option
expose cli entrance from "lint-staged/bin"
## 13.0.4 (2022-11-25) ### Bug Fixes * deps: update all dependencies (336f3b5) * deps: update all dependencies
correctly handle git stash when using MSYS2
use new --diff and --diff-filter options when checking task modifications
suppress error from process.kill when killing tasks on failure
process.kill when killing tasks on failure (f2c6bdd)EventsEmitter instead of setInterval for killing tasks on failure (c508b46)lint-staged will no longer support Node.js 12, which is EOL since 30 April 2022
include all files when using --config
deps: downgrade yaml@1.10.2 to support Node.js 12
correctly handle --max-arg-length cli option
correctly handle symlinked config files
handle empty input by returning empty array from parseGitZOutput
avoid passing unexpected arguments from forEach to process.kill()
improve renderer logic for --silent and FORCE_COLOR settings
kill other running tasks on failure
search all configs regardless of staged files
## 12.3.4 (2022-02-13) ### Bug Fixes * add package.json to exports
use config directory as cwd, when multiple configs present
handle symlinked .git directories
## 12.3.1 (2022-01-23) ### Bug Fixes * deps: update dependencies
add --cwd option for overriding task directory
always search config from cwd first
only throw if no configurations were found
make console task titles more explicit
resolve config modules with ESM createRequire
always run non-git tasks in the current working directory
search configuration starting from explicit cwd option
use cwd option when resolving git repo root
deps: remove enquirer because it's now optional by listr2
fix Windows JS config loading by using file:// URLs
await for dynamic import promise when loading JS config
allow loading .js config file with ESM syntax
## 12.0.3 (2021-11-18) ### Bug Fixes * install enquirer
## 12.0.2 (2021-11-14) ### Bug Fixes * remove npm version requirement
read version number from lint-staged package.json instead of package.json in cwd
_lint-staged_ is now a pure ESM module, and thus requires Node.js version ^12.20.0 || ^14.13.1 || >=16.0.0.
^12.20.0 || ^14.13.1 || >=16.0.0.To update your Node.js integration, please use:
// const lintStaged = require('lint-staged')
import lintStaged from 'lint-staged'
correctly import js-yaml to fix yaml config loading
js-yaml to fix yaml config loading (#1033) (612d806)cosmiconfig from lilconfig (#1035) (e035b80), closes #1033 #981add --no-stash as hidden option for backwards-compatibility
--no-stash as hidden option for backwards-compatibility (73db492)fs/promises for Node.js 12 compatibility (c99a6a1)correctly import js-yaml to fix yaml config loading
replace cosmiconfig with lilconfig
unbreak windows by correctly normalizing cwd
remove dangling chars from git dir (#1028) (11c004e), closes #1027
detect git repo root correctly on cygwin (#1026) (f291824), closes #1025
deps: update and slim down dependencies
add --no-stash as hidden option for backwards-compatibility
--no-stash as hidden option for backwards-compatibility (73db492)fs/promises for Node.js 12 compatibility (c99a6a1)Nothing published for this version
Nothing published for this version
try to automatically fix and warn about invalid brace patterns
Your coding agent can read these notes before it upgrades. Set up the MCP server →