summaryrefslogtreecommitdiffstats
path: root/ui/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'ui/package.json')
-rw-r--r--ui/package.json16
1 files changed, 3 insertions, 13 deletions
diff --git a/ui/package.json b/ui/package.json
index f20c9ab0..f816b4f6 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -58,23 +58,13 @@
"engineStrict": true,
"husky": {
"hooks": {
- "pre-commit": "yarn run lint && lint-staged"
+ "pre-commit": "lint-staged"
}
},
"lint-staged": {
- "*.js": [
+ "*.{ts,tsx,js}": [
"prettier --write",
- "yarn run lint",
- "git add"
- ],
- "*.ts": [
- "prettier --write",
- "yarn run lint",
- "git add"
- ],
- "*.tsx": [
- "prettier --write",
- "yarn run lint",
+ "eslint --fix",
"git add"
],
"package.json": [