Top "Lint-staged" questions

lint-staged not running on precommit

prettier is not running on precommit. This worked with the same configuration in other projects, so I'm baffled why it's …

javascript git pre-commit-hook prettier lint-staged
Is this a right way to use husky + lint-staged?

I found numerous blogs (including the lint-staged doc) introducing such a way to use husky+ lint-staged as the following code …

husky lint-staged
Husky/lint-staged is it possible to exclude/ignore file?

Is it possible to exclude/ignore a file when using Husky/lint-staged hooks? Looking through the docs atm but not …

husky git-husky lint-staged
Error while loading rule '@typescript-eslint/dot-notation'

Today I run eslint,two script "lint-staged": "lint-staged", "eslint": "eslint --ext .tsx,.ts --fix ./src -c .eslintrc.js", When I …

javascript eslint husky lint-staged
How to lint for Typescript compilation issues?

Take the following Typescript arrow function: /** * Returns a probably unique component name. * * @param baseName a suggested name to make unique. * @…

typescript tslint pre-commit-hook husky lint-staged
lint-staged: what the purpose of 'git add' command

Recently I started to introduce lint-staged into my Frontend build tool chain. And when I checked the document about it, …

git lint lint-staged