Skip to content

Commit

Permalink
chore: commitlint 설치
Browse files Browse the repository at this point in the history
  • Loading branch information
Xvezda committed Dec 14, 2021
1 parent cf8d1d7 commit 1dd2b45
Show file tree
Hide file tree
Showing 4 changed files with 307 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 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint --edit ""
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
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 @@ -16,6 +16,8 @@
"@babel/core": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.5",
"@babel/preset-env": "^7.16.0",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"babel-jest": "^27.3.1",
"gh-pages": "^3.2.3",
"husky": "^7.0.4",
Expand Down
Loading

0 comments on commit 1dd2b45

Please sign in to comment.