Browse Source

fix: lint-staged duplicated config

close #5860
偏右 6 năm trước cách đây
mục cha
commit
d4e638e0a4
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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%",