mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 02:22:20 +08:00
chore: Disable commitlint subject-case
This commit is contained in:
parent
f5e3bbda8c
commit
78367650ec
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user