From 23515b854228791f7ee29f315ff72da072f342f9 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 15 May 2026 20:08:52 +0200 Subject: [PATCH] =?UTF-8?q?fix(eslint):=20remove=20projectService=20from?= =?UTF-8?q?=20Svelte=20parser=20=E2=80=94=20restores=20fast=20lint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 5646e739 added svelte-kit sync before lint so .svelte-kit/tsconfig.json always exists. This activated projectService: true for every run, which builds the full TypeScript language service for all .svelte files and caused CI lint to take 7+ minutes. None of the rules in the Svelte-specific block need type information — they are all AST-selector-based no-restricted-syntax checks. Removing projectService restores the previous fast path without losing any lint coverage. Co-Authored-By: Claude Sonnet 4.6 --- frontend/eslint.config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js index 88aa8a53..b110ade9 100644 --- a/frontend/eslint.config.js +++ b/frontend/eslint.config.js @@ -45,7 +45,6 @@ export default defineConfig( files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'], languageOptions: { parserOptions: { - projectService: true, extraFileExtensions: ['.svelte'], parser: ts.parser, svelteConfig