Skip to content

Commit

Permalink
Merge pull request OpenAPITools#565 from chimurai/husky-fix
Browse files Browse the repository at this point in the history
chore: fix husky hooks
  • Loading branch information
kay-schecker authored Mar 17, 2022
2 parents 496e1cf + 2e05928 commit e8c9843
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"keywords": [
"rest-api",
"rest-client",
Expand Down

0 comments on commit e8c9843

Please sign in to comment.