Explorar el Código

fix: lint-staged duplicated config

close #5860
偏右 hace 6 años
padre
commit
d4e638e0a4
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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%",