Skip to content

Commit

Permalink
build(husky): add verify=simple git hook support
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunnamius committed Nov 16, 2021
1 parent fa2c400 commit efc8043
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
. "$(dirname $0)/_/husky.sh"

npx commitlint -e
npm run test
if [ -z $GAC_VERIFY_SIMPLE ]; then npm run test; fi
echo
node spellcheck-commit.js
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"

npm run lint
if [ -z $GAC_VERIFY_SIMPLE ]; then npm run lint; fi
npx lint-staged --concurrent false

1 comment on commit efc8043

@vercel
Copy link

@vercel vercel bot commented on efc8043 Nov 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.