mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 00:05:19 +08:00
chore: Disable commitlint subject-case
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
pnpm exec commitlint --edit ${1}
|
||||
pnpm exec commitlint --config commitlint.config.cts --edit ${1}
|
||||
|
||||
8
commitlint.config.cts
Normal file
8
commitlint.config.cts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { UserConfig } from '@commitlint/types';
|
||||
|
||||
module.exports = {
|
||||
extends: ['@commitlint/config-conventional'],
|
||||
rules: {
|
||||
'subject-case': [0],
|
||||
},
|
||||
} as UserConfig;
|
||||
@@ -23,6 +23,7 @@
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^17.7.1",
|
||||
"@commitlint/config-conventional": "^17.7.0",
|
||||
"@commitlint/types": "^17.4.4",
|
||||
"@gkd-kit/selector": "0.0.14",
|
||||
"@types/lodash": "^4.14.195",
|
||||
"@types/node": "^20.4.2",
|
||||
|
||||
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
@@ -11,6 +11,9 @@ devDependencies:
|
||||
'@commitlint/config-conventional':
|
||||
specifier: ^17.7.0
|
||||
version: 17.7.0
|
||||
'@commitlint/types':
|
||||
specifier: ^17.4.4
|
||||
version: 17.4.4
|
||||
'@gkd-kit/selector':
|
||||
specifier: 0.0.14
|
||||
version: 0.0.14
|
||||
|
||||
Reference in New Issue
Block a user