Explorar o código

chore: lint add tsc

chenshuai2144 %!s(int64=4) %!d(string=hai) anos
pai
achega
eaf692a631
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -18,7 +18,7 @@
     "gh-pages": "gh-pages -d dist",
     "i18n-remove": "pro i18n-remove --locale=zh-CN --write",
     "postinstall": "umi g tmp",
-    "lint": "umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier",
+    "lint": "umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier && npm run tsc",
     "lint-staged": "lint-staged",
     "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ",
     "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style",