Parcourir la source

fix: lint-staged duplicated config

close #5860
偏右 il y a 6 ans
Parent
commit
d4e638e0a4
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      package.json

+ 1 - 2
package.json

@@ -49,8 +49,7 @@
       "prettier --write",
       "git add"
     ],
-    "**/*.{js,jsx}": "npm run lint-staged:js",
-    "**/*.{js,ts,tsx}": "npm run lint-staged:js"
+    "**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js"
   },
   "browserslist": [
     "> 1%",