chore: commit-msg hook

This commit is contained in:
Florian Metz
2024-02-08 23:51:30 +01:00
parent 759b2abef9
commit 4ccc02f16c
5 changed files with 1154 additions and 1143 deletions

2
.husky/commit-msg Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
pnpm exec commitlint --edit $1

View File

@@ -1,4 +1,5 @@
*.js
*.cjs
*.ts
*.vue
*.vue
pnpm-lock.yaml

2
commitlint.config.cjs Normal file
View File

@@ -0,0 +1,2 @@
/* eslint-disable @typescript-eslint/no-var-requires */
module.exports = require("@recodive/configs").default.commitlint;

View File

@@ -20,6 +20,7 @@
},
"license": "MPL-2.0",
"devDependencies": {
"@commitlint/cli": "^18.6.0",
"@recodive/configs": "^1.7.1",
"@recodive/eslint-config": "^1.7.1",
"@rushstack/eslint-patch": "^1.7.2",

2289
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff