chore: commit时格式整理
This commit is contained in:
parent
7f3674d532
commit
fd54bfa54e
@ -2,4 +2,4 @@
|
|||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
npm run lint:prettier
|
npm run lint:prettier
|
||||||
npx --no commitlint --edit $1
|
npx --no -- commitlint --edit $1
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
"build:types": "rimraf types && tsc -d",
|
"build:types": "rimraf types && tsc -d",
|
||||||
"build:example": "vite build example",
|
"build:example": "vite build example",
|
||||||
"lint:eslint": "eslint 'src/**/*.{vue,ts,tsx}' --fix",
|
"lint:eslint": "eslint 'src/**/*.{vue,ts,tsx}' --fix",
|
||||||
"lint:prettier": "prettier --write \"src/**/*\"",
|
"lint:prettier": "prettier --write \"src/**/*.{vue,ts}\"",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"postinstall": "npm run prepare",
|
"postinstall": "npm run prepare",
|
||||||
"commit": "git-cz",
|
"commit": "git-cz",
|
||||||
|
Loading…
Reference in New Issue
Block a user