- Split Banner.tsx into reusable components (Header, Footer, NavCard) - Extract custom hooks: useTypewriter, useParallax - Separate navigation data from components into data/navigation.ts - Add TypeScript types (NavItem) for type safety - Configure @ path alias in tsconfig.app.json for consistency - Remove unused dependencies: radix-ui, react-helmet-async - Organize components into layout/ and ui/ directories
28 lines
663 B
JSON
28 lines
663 B
JSON
{
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"target": "es2023",
|
|
"lib": ["ES2023", "DOM"],
|
|
"module": "esnext",
|
|
"types": ["vite/client"],
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
},
|
|
|
|
/* Linting */
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"erasableSyntaxOnly": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": ["src"]
|
|
} |