chore: add eslint cache (#18876)

This commit is contained in:
winches 2022-11-23 00:46:11 +08:00 committed by GitHub
parent 228f78c89d
commit d09184c34c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -29,3 +29,4 @@ test-results
/tests/installation/output/
/tests/installation/.registry.json
.cache/
.eslintcache

View File

@ -26,7 +26,7 @@
"ttest": "node ./tests/playwright-test/stable-test-runner/node_modules/@playwright/test/cli test --config=tests/playwright-test/playwright.config.ts",
"ct": "playwright test tests/components/test-all.spec.js --reporter=list",
"test": "playwright test --config=tests/library/playwright.config.ts",
"eslint": "eslint --ext ts,tsx .",
"eslint": "eslint --cache --ext ts,tsx .",
"tsc": "tsc -p .",
"build-installer": "babel -s --extensions \".ts\" --out-dir packages/playwright-core/lib/utils/ packages/playwright-core/src/utils",
"doc": "node utils/doclint/cli.js",