Skip to content

Commit b763a62

Browse files
add precommit
1 parent 0191936 commit b763a62

File tree

4 files changed

+323
-5
lines changed

4 files changed

+323
-5
lines changed

.github/workflows/pre-release.yml

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Pre-Release
22

33
on:
4-
push:
5-
branches:
6-
- main
74
workflow_dispatch:
85
inputs:
96
release_type:

commitlint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ["@commitlint/config-conventional"] };

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
"typedoc": "^0.26.11",
3232
"typescript": "5.6.3",
3333
"vite": "^5.4.11",
34-
"vitest": "^2.1.5"
34+
"vitest": "^2.1.5",
35+
"@commitlint/cli": "^18.4.4",
36+
"@commitlint/config-conventional": "^18.4.4"
3537
},
3638
"pnpm": {
3739
"overrides": {

0 commit comments

Comments
 (0)