35 lines
905 B
JSON
35 lines
905 B
JSON
{
|
|
"compilerOptions": {
|
|
// Environment setup & latest features
|
|
"lib": ["ESNext", "DOM"],
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleDetection": "force",
|
|
"jsx": "preserve",
|
|
"jsxImportSource": "react",
|
|
"allowJs": true,
|
|
|
|
// Bundler mode
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"noEmit": true,
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
|
|
// Next.js specific settings
|
|
"types": ["react", "bun"]
|
|
},
|
|
"include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
|
|
"exclude": ["node_modules", ".next", "out", "public", "styles"]
|
|
}
|