chore: commit时格式整理

This commit is contained in:
dingyongya 2022-02-16 17:23:42 +08:00
parent 7f3674d532
commit fd54bfa54e
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,4 @@
. "$(dirname "$0")/_/husky.sh"
npm run lint:prettier
npx --no commitlint --edit $1
npx --no -- commitlint --edit $1

View File

@ -29,7 +29,7 @@
"build:types": "rimraf types && tsc -d",
"build:example": "vite build example",
"lint:eslint": "eslint 'src/**/*.{vue,ts,tsx}' --fix",
"lint:prettier": "prettier --write \"src/**/*\"",
"lint:prettier": "prettier --write \"src/**/*.{vue,ts}\"",
"prepare": "husky install",
"postinstall": "npm run prepare",
"commit": "git-cz",