Skip to content

Commit

Permalink
use eslint cache on pre-commit hook
Browse files Browse the repository at this point in the history
this makes pre-commit much faster if you have a cache already
  • Loading branch information
acao committed Jul 24, 2023
1 parent d314dc7 commit d381436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"eslint --fix",
"eslint --cache --fix",
"prettier --write --ignore-path .eslintignore",
"jest --passWithNoTests",
"yarn lint-cspell"
Expand Down

0 comments on commit d381436

Please sign in to comment.