chore: add lint cache (#40369)

This commit is contained in:
Simon He 2023-02-17 22:12:19 +08:00 committed by GitHub
parent de82a15b22
commit 12a6f7182d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,7 @@ server
.dumi/tmp-production
!.dumi/
node_modules
.eslintcache
_site
dist
coverage

View File

@ -76,9 +76,9 @@
"lint:deps": "antd-tools run deps-lint",
"lint:md": "remark . -f -q",
"lint:style": "ts-node --project tsconfig.node.json scripts/check-cssinjs.js",
"lint:script": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:script": "eslint . --ext .js,.jsx,.ts,.tsx --cache",
"pre-publish": "npm run test-all -- --skip-build",
"prettier": "prettier -c --write **/*",
"prettier": "prettier -c --write **/* --cache",
"pub": "npm run version && npm run collect-token-statistic && npm run token-meta && antd-tools run pub",
"rome:format": "rome format --write .",
"prepublishOnly": "antd-tools run guard",