mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-11 22:40:32 +01:00
* refactor(eslint): improve config readability and structure * chore(tsconfig): group options and add explanatory comments * docs(readme): restructure for clearer setup and contribution guide
46 lines
821 B
JSON
46 lines
821 B
JSON
{
|
|
"compilerOptions": {
|
|
// Project Structure
|
|
"rootDirs": [".", ".next-types"],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./*"]
|
|
},
|
|
|
|
// Module Settings
|
|
"target": "esnext",
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
|
|
// Compilation Behavior
|
|
"noEmit": true,
|
|
"incremental": true,
|
|
"isolatedModules": true,
|
|
|
|
// Type Checking
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
|
|
// JavaScript Support
|
|
"allowJs": true,
|
|
|
|
// React Support
|
|
"jsx": "preserve",
|
|
|
|
// Libraries and Types
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"types": ["bun-types"],
|
|
|
|
// Plugins
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
]
|
|
},
|
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "**/*.(mts|ts)"],
|
|
"exclude": ["node_modules"]
|
|
}
|