mirror of
https://github.com/PreMiD/PreMiD.git
synced 2026-04-06 04:41:58 +02:00
chore: commit-msg hook
This commit is contained in:
2
.husky/commit-msg
Normal file
2
.husky/commit-msg
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
pnpm exec commitlint --edit $1
|
||||
@@ -1,4 +1,5 @@
|
||||
*.js
|
||||
*.cjs
|
||||
*.ts
|
||||
*.vue
|
||||
*.vue
|
||||
pnpm-lock.yaml
|
||||
2
commitlint.config.cjs
Normal file
2
commitlint.config.cjs
Normal file
@@ -0,0 +1,2 @@
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
module.exports = require("@recodive/configs").default.commitlint;
|
||||
@@ -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
2289
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user