From eaf692a63188644df51d172989b0065a0ed3ba51 Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Thu, 5 Aug 2021 19:40:41 +0800 Subject: [PATCH] chore: lint add tsc --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 66c57dcb..3a0615d9 100644 --- a/package.json +++ b/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",