Skip to content

Commit

Permalink
Fix ESLint cache in git hook
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed Jul 8, 2022
1 parent aeb80dd commit 47e856d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .githooks/pre-commit.6.lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

if [ -n "$JS_STAGED" ];
then
npx eslint --cache --cache-location $JS_STAGED
npx eslint --cache --cache-location ./node_modules/.cache/.eslintcache $JS_STAGED
fi

if [ -n "$SCSS_STAGED" ];
Expand Down

0 comments on commit 47e856d

Please sign in to comment.