@jeromefitz/lint-staged
v3.0.3
Published
Lint Staged Configuration
Readme
@jeromefitz/lint-staged
Custom lint-staged setup that can be extended and incorporates:
lint-staged
Since [email protected] 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 .
