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 7 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
add all modified files to git index with git add .
git add . (bf532c2)git clean -df since untracked changes are stashed (869bac6)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.One column per quarter.
Nothing published for this version
Nothing published for this version
add support for concurrent CLI option
no need to run git clean -df since untracked changes are stashed
git clean -df since untracked changes are stashed (bbfae43)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.correctly restore untracked files from backup stash
deps: bump eslint-utils from 1.4.0 to 1.4.3 to fix a security vulnerability
create fn title with mock file list of correct length
## 9.4.1 (2019-10-01) ### Bug Fixes * add note about next version
Use shorter title for function tasks with many staged files (#706) (1dcdb89), closes #674
allow to pass config instead of configPath
validateConfig validates function task return values
include renames when getting list of staged files
don't normalize path gitDir path for better Windows compatibility
apply patch only if there's a diff
pin commitizen@3.1.2 to support node 8
add --relative option for controlling file paths
snapshot with fully-resolved path name
run all commands returned by function linters
Update node version requirement
add deprecation error for advanced configuration
Override env GIT_DIR variable to resolve to the correct git dir path (#629) (5892455), closes #627
normalize gitDir path for Windows compatibility
Resolve security vulnerability in dependencies (#615) (315890a), closes #600
## 8.1.6 (2019-05-03) ### Bug Fixes * update yup to 0.27.0
fix issue with scoped pkg listr-update-renderer (#587) (63b085f), closes #585
Use lodash version with prototype pollution fix
Display package name when node-please-upgrade is being used
Avoid stashing if no staged files has been changed
Fix configuration validation and allow specifying custom renderers (#572) (d5e738d), closes #567
Add relative option to allow passing relative paths to linters
Use listr-update-renderer from npm (#542) (503110d), closes #533
package: update staged-git-files to version 1.1.2
## 8.0.3 (2018-10-30) ### Bug Fixes * Allow to use lint-staged on CI
git: Use resolveGitDir in hasPartiallyStagedFiles (#520) (af99172), closes #514
git: Use resolveGitDir to resolve to .git for git commands (#518) (da42f8a), closes #514
Add support for partially staged files (#75) (f82443c), closes #62
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Allow linting files outside of project folder
Make app package.json load error tolerant
Disable recursive checks for jest-validate
Resolve a npm package passed as --config
package: Update jest-validate to version 23.0.0
package: Update cosmiconfig to version 5.0.2 (#444) (2fc7aa3), closes #441
cli: Correct value for FORCE_COLOR env var (#451) (9823d26), closes #448
Chunked execution of linters on Windows only
Update "please-upgrade-node" to version 3.0.2
Parse arguments with single quotes properly. Better tests. (29fc479), closes #419
Fix cli-command-parser to parse arguments for execa (b4fbc3b), closes #419
Hide error message in a private field to avoid duplicate logs
package: update staged-git-files to version 1.1.1
Switch from minimatch to micromatch
<a name="7.0.0"></a>
Requires Node.js v6 or later.
Remove implicit support for running npm scripts.
Consider example lint-staged config:
{
"name": "My project",
"version": "0.1.0",
"scripts": {
"my-custom-script": "linter --arg1 --arg2",
"precommit": "lint-staged"
},
"lint-staged": {
"*.js": ["my-custom-script", "git add"]
}
}
The list of commands should be changed to the following:
"*.js": ["npm run my-custom-script --", "git add"]
The following minimatch options are not supported in micromatch:
nocomment: https://github.com/isaacs/minimatch#nocommentflipnegate: https://github.com/isaacs/minimatch#flipnegatepackage: Update staged-git-files to version 1.0.0
config: Add ignore config option
package: update cosmiconfig to version 4.0.0
Add debug mode, deprecate verbose option
Your coding agent can read these notes before it upgrades. Set up the MCP server →