Browse Source

chore: 修改lint-staged config

xyh 2 years atrás
parent
commit
948a19e17f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package.json

+ 2 - 2
package.json

@@ -66,11 +66,11 @@
   },
   "lint-staged": {
     "**/*/*.css": [
-      "pnpm lint:style",
+      "stylelint",
       "prettier --write"
     ],
     "**/*/*.{js,jsx,ts,tsx}": [
-      "pnpm lint:js",
+      "eslint",
       "prettier --write"
     ]
   }