Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: add eslint cache (#18876)

winchesd09184c34cdd
diff --git a/.gitignore b/.gitignore
index deea03bdb9..3d26132809 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,4 @@ test-results
/tests/installation/output/
/tests/installation/.registry.json
.cache/
+.eslintcache
\ No newline at end of file
diff --git a/package.json b/package.json
index d835e2fe6b..4da3f898ee 100644
--- a/package.json
+++ b/package.json
@@ -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",