#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
drop type-aware ESLint to stop the lint OOM (#6602)
Reece Browneda4b84962c13
diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjsindex 65e97d4969..11071641d0 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