Skip to content

Commit d381436

Browse files
committed
use eslint cache on pre-commit hook
this makes pre-commit much faster if you have a cache already
1 parent d314dc7 commit d381436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"lint-staged": {
1616
"*.{js,ts,jsx,tsx}": [
17-
"eslint --fix",
17+
"eslint --cache --fix",
1818
"prettier --write --ignore-path .eslintignore",
1919
"jest --passWithNoTests",
2020
"yarn lint-cspell"

0 commit comments

Comments
 (0)