Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
fix(dev): automatically fix eslint errors in changed files on commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Nov 3, 2020
1 parent bee9da4 commit 5d2a83d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
},
"lint-staged": {
"*.js": [
"npm run lint"
"eslint --cache --fix",
"yarn lint"
]
},
"repository": {
Expand Down

0 comments on commit 5d2a83d

Please sign in to comment.