Runs linters on git staged files before commit.
Essential for maintaining clean codebases with zero friction.
High confidence. AI review, 2026-11-26. No person checked it. Based on the README, activity, licence and health signals.Reduces bugs reaching production by enforcing code checks.
Node.js package integrated into git hooks.
git clone https://github.com/lint-staged/lint-staged.git cd lint-staged npm install --save-dev lint-staged # requires further setup git commit git stash list --format="%h %s" npx lint-staged --config lint-staged.config.ts npx lint-staged
README · Releases · Issues · Pull requests · Commits · Security · Licence
Open in Nextfit → · the original on GitHub