GraphCanon updated Oct 23, 2026 · GitHub synced Oct 23, 2026
Decision brief
Unverified catalog guidance: Lint-staged executes tasks like formatters and linters on Git staged files to enforce coding style consistency.
Good fit when
- Unverified catalog guidance: When you want automated linting and formatting of only the staged git files before they are committed, ensuring consistent code practices across a team
- Unverified catalog guidance: If your workflow involves the use of tools such as ESLint or Prettier for maintaining code quality and style standards
Avoid when
- Unverified catalog guidance: When you need to lint or format all modified files in the project regardless of their staging status, as lint-staged operates exclusively on staged Git files
- Unverified catalog guidance: If your team's development practices do not include using Git hooks extensively since lint-staged relies on pre-commit git hooks for its functionality
- Requirements:
- Requires installation via npm --save-dev lint-staged; Setting up a pre-commit Git hook, preferably with Husky, is essential for this tool's operation
Observed Jul 16, 2026 · Source: enrich:decision_facts
Verify the decision
Adoption
Package downloads where a registry match exists. GitHub stars (14,742) are secondary evidence.
- npm downloads (30d)
- 109,503,547·npm downloads API·Sep 14, 2026
Maintenance and security
Full trust report- Maintenance
- Very active (1d since push)
- As of Sep 14, 2026
- Provenance
- Not a fork · Organization account
- As of Sep 14, 2026
- Security (OSV)
- No published findings
- As of Jul 15, 2026
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
Package installation is not established from the available documentation. Check the source repository for setup instructions.
git clone https://github.com/lint-staged/lint-stagedSource repositorySimilar tools
Same-category neighbours. No typed graph edges are catalogued for this tool yet.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
Lint-staged executes code formatters and linters on the Git staged files, ensuring consistent coding styles.
Capability facts
- CLI
- Unknown; CLI entrypoint not verified
Source: package.json:bin|scripts · Sep 14, 2026
- MCP server
- Unknown; MCP server not established by this scan
Source: repo_scan · Sep 14, 2026
- Languages
- javascript
Source: github.language+package.json · Sep 14, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Sep 14, 2026)
- `npm install --save-dev lint-staged`Source link
Tags
README
Installation and setup To install lint staged in the recommended way, you need to: 1. Install lint staged itself: 1. Set up the git hook to run lint staged Husky is a popular choice for configuring git hooks Read more about git hooks here 1. Install some tools like ESLint or Pret...
For agents
This page has a .md twin and JSON over the API.