mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2024-10-07 19:43:22 +00:00
chore(husky): update husky config
This commit is contained in:
parent
b07dfeeccb
commit
4fdfa22704
1
.husky/.gitignore
vendored
Normal file
1
.husky/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
_
|
4
.husky/commit-msg
Normal file
4
.husky/commit-msg
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname $0)/_/husky.sh"
|
||||
|
||||
yarn commitlint --edit
|
4
.husky/pre-commit
Normal file
4
.husky/pre-commit
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
lint-staged
|
@ -14,18 +14,13 @@
|
||||
"lint:js": "eslint --ext .ts,.js,.vue .",
|
||||
"lint:style": "stylelint **/*.{vue,css} --ignore-path .gitignore",
|
||||
"lint": "yarn lint:js && yarn lint:style",
|
||||
"test": "jest"
|
||||
"test": "jest",
|
||||
"postinstall": "husky install"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,js,vue}": "eslint",
|
||||
"*.{css,vue}": "stylelint"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged",
|
||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@fontsource/noto-sans": "^4.2.0",
|
||||
"@fontsource/noto-sans-hk": "^4.2.0",
|
||||
|
Loading…
Reference in New Issue
Block a user