chore: update husky to v5 (okay actually maybe for real this time)

This commit is contained in:
41666 2020-12-19 20:36:10 -05:00
parent 179139aa31
commit 839d98a2ff
2 changed files with 2 additions and 6 deletions

1
.husky/pre-commit.sh Normal file
View file

@ -0,0 +1 @@
yarn lint-staged

View file

@ -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"
] ]
} }
} }