From d09184c34cddf2510e4a179c1375ecee639b1ba7 Mon Sep 17 00:00:00 2001 From: winches <96854855+winchesHe@users.noreply.github.com> Date: Wed, 23 Nov 2022 00:46:11 +0800 Subject: [PATCH] chore: add eslint cache (#18876) --- .gitignore | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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",