Skip to content

Commit

Permalink
build: husky
Browse files Browse the repository at this point in the history
  • Loading branch information
AruSeito committed Aug 17, 2022
1 parent 057ad8e commit f35ef5c
Show file tree
Hide file tree
Showing 4 changed files with 289 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
100644 → 100755
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint --edit "${1}"
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"husky": "^8.0.0",
"turbo": "^1.1.1"
},
"workspaces": [
Expand Down
Loading

0 comments on commit f35ef5c

Please sign in to comment.