Skip to content

Commit

Permalink
chore: commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Dec 1, 2023
1 parent c8aa613 commit 8e68421
Show file tree
Hide file tree
Showing 4 changed files with 551 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"

pnpm 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 @@ -64,6 +64,8 @@
},
"devDependencies": {
"@actions/github": "^5.0.3",
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@tauri-apps/cli": "^1.3.1",
"@types/fs-extra": "^9.0.13",
"@types/js-cookie": "^3.0.2",
Expand Down
Loading

0 comments on commit 8e68421

Please sign in to comment.