Setup code quality tooling for the monorepo: - ESLint 9 flat config with TypeScript, import ordering, and NestJS rules - Prettier with consistent formatting across all files - dependency-cruiser enforcing module boundary rules (no cross-module internals, no circular deps) - Husky + lint-staged for pre-commit hooks - Auto-fixed existing files for type imports and import ordering Co-Authored-By: Paperclip <noreply@paperclip.ing>
28 lines
621 B
JSON
28 lines
621 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"target": "ES2017",
|
|
"lib": ["DOM", "DOM.Iterable", "ES2022"],
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": ["./*"]
|
|
},
|
|
"declaration": false,
|
|
"declarationMap": false,
|
|
"sourceMap": false,
|
|
"noEmit": true,
|
|
"allowJs": true,
|
|
"isolatedModules": true
|
|
},
|
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
"exclude": ["node_modules", ".next"]
|
|
}
|