Skip to content
L

Lint Staged

Run tasks like formatters and linters against staged git files

by lint-stagedFree

#256in Productivity
0In stores

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…

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

S

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged

AI Skills
Get
S

setup-pre-commit

在当前仓库设置 Husky pre-commit hooks,集成 lint-staged

AI Skills
Get
H

hygiene

Making code changes to ensure they pass VS Code's hygiene checks

AI Skills
Get
L

lint-and-validate

Run configured lint and type checks, distinguish failures from checks

AI Skills
Get
F

fix

You have lint errors, formatting issues

AI Skills
Get
C

CZ Git

cz-git | czg DX first and more engineered, lightweight, customizable

Productivity
Launch

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

Developer Stuff

Badges