@jeromefitz/lint-staged v3.0.0
@jeromefitz/lint-staged
Custom lint-staged setup that can be extended and incorporates:
lint-staged
Since node@22.6.0 you can call .ts directly now. Until node@24 you will want to set the following NODE_OPTIONS:
▲ export NODE_OPTIONS="--disable-warning=ExperimentalWarning"
▲ export NODE_OPTIONS="--experimental-strip-types"With pnpm you can do that via the pnpm-workspace.yaml:
nodeOptions: '--experimental-strip-types --disable-warning=ExperimentalWarning'lint-staged.config
import config from '@jeromefitz/lint-staged'
export default configWhat It Do
Pre-commit check against files for:
eslintprettier
And re-add if any updates were applied on auto-fix.
Git Hooks
Since lint-staged@12 passing the direct built configuration file locally to this monorepo has helped. But you should be able to call .
10 months ago
11 months ago
8 months ago
10 months ago
6 months ago
7 months ago
11 months ago
6 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago