mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-11-03 19:41:22 +03:00
feat: add prettier pre-commit hook
This commit is contained in:
parent
3e7f3d39b5
commit
8a439bb41b
@ -2,3 +2,4 @@
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npm test
|
||||
npx lint-staged
|
||||
|
@ -16,6 +16,7 @@
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"husky": "^7.0.2",
|
||||
"lint-staged": "^11.1.2",
|
||||
"mocha": "^6.0.0",
|
||||
"prettier": "2.3.2",
|
||||
"typedoc": "^0.21.6",
|
||||
@ -53,6 +54,9 @@
|
||||
},
|
||||
"homepage": "https://github.com/gikari/bismuth#readme",
|
||||
"prettier": {},
|
||||
"lint-staged": {
|
||||
"**/*": "prettier --write --ignore-unknown"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
"ignorePatterns": [
|
||||
|
Loading…
Reference in New Issue
Block a user