From 8c3f590b8c7fa9eb99264a014754c936ef236b53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=97=8D+85CD?= <50108258+kwaa@users.noreply.github.com> Date: Wed, 22 Jan 2025 20:57:40 +0800 Subject: [PATCH] chore(eslint): enable cache --- .gitignore | 1 + cspell.config.yaml | 3 ++- package.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 477749e1..7f5bd851 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ pnpm-debug.log* node_modules dist *.local +.eslintcache # Editor directories and files .idea diff --git a/cspell.config.yaml b/cspell.config.yaml index 0dcaa17d..47874826 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -1,4 +1,4 @@ -version: '0.2' +version: "0.2" ignorePaths: [] dictionaryDefinitions: [] dictionaries: [] @@ -8,6 +8,7 @@ words: - bumpp - changelogithub - elevenlabs + - eslintcache - fumadocs - gcornut - importantimport diff --git a/package.json b/package.json index 75935c22..651a81c0 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "bump": "bumpp", "docs:dev": "corepack pnpm -rF @xsai/docs dev", "docs:generate-files": "corepack pnpm -rF @xsai/docs generate-files", - "lint": "eslint .", + "lint": "eslint --cache .", "test": "corepack pnpm -r --workspace-concurrency=1 test" }, "devDependencies": {