Skip to content

Commit

Permalink
feat: add commit lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kanghyun98 committed Jul 3, 2023
1 parent da973e2 commit e6a7ba9
Show file tree
Hide file tree
Showing 4 changed files with 606 additions and 24 deletions.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx 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'] };
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
"zustand": "4.3.8"
},
"devDependencies": {
"@commitlint/cli": "17.6.6",
"@commitlint/config-conventional": "17.6.6",
"@playwright/test": "1.35.1",
"@storybook/addon-essentials": "7.0.24",
"@storybook/addon-interactions": "7.0.24",
Expand Down
Loading

0 comments on commit e6a7ba9

Please sign in to comment.