Fix frontend formatting pre-commit (#991)
* update lint staged config * remove prettier defaults
This commit is contained in:
parent
4fed3ed1b0
commit
c5b3be0680
@ -112,13 +112,12 @@
|
|||||||
"no-unused-vars": "warn"
|
"no-unused-vars": "warn"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"prettier": {
|
|
||||||
"tabWidth": 2,
|
|
||||||
"useTabs": false
|
|
||||||
},
|
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"src/**/*.{ts,js}": "eslint --fix --quiet",
|
"*.{ts,js}": [
|
||||||
"src/*.{ts,js,html,css,json}": "prettier --write"
|
"prettier --write",
|
||||||
|
"eslint --fix --quiet"
|
||||||
|
],
|
||||||
|
"*.{html,css,json}": "prettier --write"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user