forked from baron/baron-sso
- Centralized biome.json, tailwind.config.ts, and vite.config.ts into common/config. - Updated sub-apps to inherit from shared base configurations. - Deduplicated dependencies across apps using common workspace. - Fixed TypeScript resolution issues by restoring necessary build dependencies. - Removed obsolete package-lock.json files. - Applied minor import fixes via Biome. - Fixed react-router-dom v7 type errors.
38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"target": "ES2022",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"types": ["vite/client"],
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
"baseUrl": ".",
|
|
"ignoreDeprecations": "6.0",
|
|
"paths": {
|
|
"lucide-react": ["../common/node_modules/lucide-react"],
|
|
"react": ["../common/node_modules/@types/react/index.d.ts"],
|
|
"react/jsx-dev-runtime": ["../common/node_modules/@types/react/jsx-dev-runtime.d.ts"],
|
|
"react/jsx-runtime": ["../common/node_modules/@types/react/jsx-runtime.d.ts"]
|
|
},
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"erasableSyntaxOnly": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedSideEffectImports": true
|
|
},
|
|
"include": ["src", "../common/**/*.ts", "../common/**/*.tsx"],
|
|
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]
|
|
}
|