Browse Source

test:husky,lint-staged,tsx jsx file

dengdx 2 months ago
parent
commit
3ef9cd8677
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .lintstagedrc.json

+ 2 - 0
.lintstagedrc.json

@@ -1,5 +1,7 @@
 {
   "*.js": "eslint --fix",
   "*.ts": "eslint --fix",
+  "*.tsx": "eslint --fix",
+  "*.jsx": "eslint --fix",
   "*.{json,md}": "prettier --write"
 }