Description
lint-staged runs tasks such as formatters and linters against the git files you have staged, so problems do not slip into the codebase. You install it and set up the tasks it should run on staged files, and the README covers installation and setup, a table of contents, the reasoning behind it, and related blog posts and talks. The README also suggests a simpler shell script called lint-staged.sh if you only want to check staged files without editing them automatically. The project is on GitHub at lint-staged/lint-staged.…
Highlights
- Runs formatters and linters on staged git files
- Stops problems before they reach the codebase
- Installation and setup guide
- Related blog posts and talks
- Simpler shell-script alternative for checking only
Ratings & Reviews
No ratings yet
Be the first to rate Lint Staged.
People also visit
Lint Staged FAQ
What does lint-staged do?
It runs formatters and linters against the files staged in git.
Does it only check files?
It can also edit them. The README points to lint-staged.sh for checks that do not edit files.
Where is the setup guide?
In the README's installation and setup section.
Where can I learn more?
The README links related blog posts and talks.
Where is the source?
On GitHub at lint-staged/lint-staged.
What are the best Lint Staged alternatives?
Popular alternatives to Lint Staged include CZ Git, Prettier Action and Add And Commit. See all Lint Staged alternatives














