Skip to content

Commit 59536fe

Browse files
committed
add eslint in lint-staged commands
1 parent 778d561 commit 59536fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"lint-staged": {
5050
"+(src|api)/**/*.js": [
5151
"npm run precommit-prettier",
52+
"eslint -c .eslintrc",
5253
"git add"
5354
]
5455
},

0 commit comments

Comments
 (0)