Root package.json (type: module), strict tsconfig with allowJs/checkJs:false for gradual migration, flat ESLint config scoped to scripts/ + tests/. App untouched. All three green: lint, typecheck, test 107/107.
20 lines
479 B
JSON
20 lines
479 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"lib": ["ES2023"],
|
|
"types": ["node"],
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"allowJs": true,
|
|
"checkJs": false,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"include": ["scripts/**/*", "tests/**/*"],
|
|
"exclude": ["node_modules", "app", "dist", "release"]
|
|
}
|