Files
smart-crop-ui/crop-x/tsconfig.json
贺海国 8da01a207d 重构: 升级ESLint配置并优化项目结构 │
│                                                                                                                    │
│   - 迁移至ESLint新版配置格式(eslint.config.mjs)                                                                    │
│   - 添加Next.js ESLint配置支持                                                                                     │
│   - 新增样式类型定义文件                                                                                           │
│   - 优化TypeScript和Vite配置                                                                                       │
│   - 更新Tailwind CSS配置                                                                                           │
│                                                                                                                    │
│   🤖 Generated with [Claude Code](https://claude.com/claude-code)                                                  │
│                                                                                                                    │
│   Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 19:02:47 +08:00

84 lines
1.5 KiB
JSON

{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": [
"ES2020",
"DOM",
"DOM.Iterable"
],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
/* Path mapping */
"paths": {
"@/*": [
"./src/*"
],
"@config/*": [
"./src/config/*"
],
"@router/*": [
"./src/router/*"
],
"@api/*": [
"./src/apis/*"
],
"@stores/*": [
"./src/stores/*"
],
"@pages/*": [
"./src/app/*"
],
"@components/*": [
"./src/components/*"
],
"@utils/*": [
"./src/utils/*"
],
"@types/*": [
"./src/types/*"
],
"@assets/*": [
"./src/assets/*"
]
},
"allowJs": true,
"incremental": true,
"esModuleInterop": true,
"plugins": [
{
"name": "next"
}
]
},
"include": [
"src",
".next/types/**/*.ts"
],
"references": [
{
"path": "./tsconfig.node.json"
}
],
"paths": {
"@/*": [
"./src/*"
]
},
"exclude": [
"node_modules"
]
}