mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-14 18:47:01 +02:00
upgrade husky
This commit is contained in:
parent
3f5bf70752
commit
a1be7db077
@ -19,8 +19,7 @@
|
||||
"test-oss": "yarn run test -f='!enterprise'",
|
||||
"fmt-js": "prettier-eslint --single-quote --no-use-tabs --trailing-comma es5 --print-width=110 --write '{app,tests,config,lib,mirage}/**/*.js'",
|
||||
"fmt-styles": "prettier --write app/styles/**/*.*",
|
||||
"fmt": "yarn run fmt-js && yarn run fmt-styles",
|
||||
"precommit": "lint-staged"
|
||||
"fmt": "yarn run fmt-js && yarn run fmt-styles"
|
||||
},
|
||||
"lint-staged": {
|
||||
"linters": {
|
||||
@ -124,5 +123,10 @@
|
||||
"paths": [
|
||||
"lib/css"
|
||||
]
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user