chore: add eslintcache (#3525)

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

1
.gitignore vendored
View File

@ -7,6 +7,7 @@ dist
.env
.env.*
.npmrc
.eslintcache
# Log files
npm-debug.log*

View File

@ -10,8 +10,8 @@
],
"scripts": {
"start": "npm --prefix ./demos run start",
"lint": "eslint --quiet --no-error-on-unmatched-pattern ./",
"lint:fix": "eslint --fix --quiet --no-error-on-unmatched-pattern ./",
"lint": "eslint --cache --quiet --no-error-on-unmatched-pattern ./",
"lint:fix": "eslint --fix --cache --quiet --no-error-on-unmatched-pattern ./",
"lint:staged": "lint-staged",
"test:open": "npm run build:pm && cypress open --project tests",
"test": "npm run build:pm && cypress run --project tests",