Skip to content

Commit fab4bfa

Browse files
committed
fix generated .eslintcahce file in root folder facebook/create-react-app#10161
1 parent 132288a commit fab4bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.husky/lint-staged.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
"*.{js,jsx,ts,tsx}": ["eslint --cache --fix"],
2+
"*.{js,jsx,ts,tsx}": ["eslint --cache --fix --cache-location './node_modules/.cache/.eslintcache/'"],
33
"src/**/*.{js,jsx,ts,tsx}": () =>
44
"npx tsc --noEmit",
55
"*.{md,json,scss,css}": "prettier --write",

0 commit comments

Comments
 (0)