Skip to content

Commit

Permalink
feat(api): api
Browse files Browse the repository at this point in the history
  • Loading branch information
XuZehong committed Sep 16, 2021
1 parent 3e174a1 commit 02498da
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions .husky.back/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
7 changes: 7 additions & 0 deletions .huskyrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
husky: {
hooks: {
'pre-commit': 'lint-staged --config .lintstagedrc.js',
},
},
}

0 comments on commit 02498da

Please sign in to comment.