- 更新 ESLint 配置以忽略 vite.config.ts 文件。 - 在 package.json 中添加 pnpm 配置。 - 修改 tsconfig 文件以包含 vite.config.ts 和 eslint.config.ts。 - 在多个场景中添加引导对话,增强用户学习体验。 - 更新组件中的文本和描述,确保一致性和准确性。
25 lines
579 B
JSON
25 lines
579 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"lib": ["ES2023"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
"types": ["node"],
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"isolatedModules": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true
|
|
},
|
|
"include": ["vite.config.ts", "eslint.config.ts", "types/**/*.d.ts"]
|
|
}
|