chore: run commitlint in commit-msg hook #22

Merged
ksv741 merged 1 commits from codex/specs-commitlint-hook into develop 2026-10-07 14:23:41 +03:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 0fd148ffbb - Show all commits
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
npx --no-install commitlint --edit "$1" --strict
+2 -1
View File
@@ -9,7 +9,8 @@
"verify": "git diff --check",
"release:preview": "release-it --dry-run --ci",
"release:prepare": "release-it --ci",
"commitlint": "commitlint"
"commitlint": "commitlint",
"prepare": "git config core.hooksPath .githooks"
},
"devDependencies": {
"@commitlint/cli": "21.2.2",