Skip to content

Commit

Permalink
build: move npm lint step before lint-staged in husky hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunnamius committed Jan 1, 2021
1 parent 077abce commit e8bac90
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 144 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
. "$(dirname $0)/_/husky.sh"

npx lint-staged --concurrent false
npm run lint
npx lint-staged --concurrent false

0 comments on commit e8bac90

Please sign in to comment.