drop type-aware ESLint to stop the lint OOM (#6602)

This commit is contained in:
Reece Browne
2026-06-10 15:44:52 +01:00
committed by GitHub
parent 611468b972
commit da4b84962c
+3 -8
View File
@@ -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