diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs index 65e97d496..11071641d 100644 --- a/frontend/eslint.config.mjs +++ b/frontend/eslint.config.mjs @@ -143,7 +143,9 @@ export default defineConfig( ], }, }, - // Stricter rules that not all sub-folders are conformant to yet + // Stricter rules that not all sub-folders are conformant to yet. + // Keep this non-type-aware: `parserOptions.project`/`projectService` here OOMs + // the lint step (builds the whole TS program); tsc covers type correctness. { files: srcGlobs, ignores: [ @@ -158,15 +160,8 @@ export default defineConfig( "editor/src/core/types/**/*.{js,mjs,jsx,ts,tsx}", "editor/src/core/utils/**/*.{js,mjs,jsx,ts,tsx}", ], - languageOptions: { - parserOptions: { - project: true, - tsconfigRootDir: import.meta.dirname, - }, - }, rules: { "@typescript-eslint/no-explicit-any": "error", - "@typescript-eslint/no-unnecessary-type-assertion": "error", }, }, // Config for browser scripts