Fix frontend formatting pre-commit (#991)

* update lint staged config

* remove prettier defaults
This commit is contained in:
sua yoo 2023-07-18 08:51:13 -07:00 committed by GitHub
parent 4fed3ed1b0
commit c5b3be0680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,13 +112,12 @@
"no-unused-vars": "warn"
}
},
"prettier": {
"tabWidth": 2,
"useTabs": false
},
"lint-staged": {
"src/**/*.{ts,js}": "eslint --fix --quiet",
"src/*.{ts,js,html,css,json}": "prettier --write"
"*.{ts,js}": [
"prettier --write",
"eslint --fix --quiet"
],
"*.{html,css,json}": "prettier --write"
},
"husky": {
"hooks": {