mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
chore: update husky to v5 (okay actually maybe for real this time)
This commit is contained in:
parent
179139aa31
commit
839d98a2ff
2 changed files with 2 additions and 6 deletions
1
.husky/pre-commit.sh
Normal file
1
.husky/pre-commit.sh
Normal file
|
@ -0,0 +1 @@
|
||||||
|
yarn lint-staged
|
|
@ -115,11 +115,6 @@
|
||||||
"typescript": "^4.1.3",
|
"typescript": "^4.1.3",
|
||||||
"webpack": "^4.44.2"
|
"webpack": "^4.44.2"
|
||||||
},
|
},
|
||||||
"husky": {
|
|
||||||
"hooks": {
|
|
||||||
"pre-commit": "lint-staged"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{ts,tsx,js,jsx}": [
|
"*.{ts,tsx,js,jsx}": [
|
||||||
"tsc -p tsconfig.json --noEmit",
|
"tsc -p tsconfig.json --noEmit",
|
||||||
|
@ -137,4 +132,4 @@
|
||||||
"prettier --write"
|
"prettier --write"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue