commit
1d74717beb
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
pnpm exec commitlint --config .commitlintrc.json --edit "${1}"
|
||||
npx --no -- commitlint --edit
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
pnpm exec lint-staged
|
||||
npx lint-staged
|
||||
|
|
|
@ -48,8 +48,8 @@
|
|||
},
|
||||
"lint-staged": {
|
||||
"*.{js,ts,jsx,tsx,vue}": [
|
||||
"pnpm run lint:fix",
|
||||
"pnpm run type-check"
|
||||
"pnpm lint:fix",
|
||||
"pnpm type-check"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue