forked from zhongyidian/yx-react-template
feat: 初始化项目结构并添加基本配置
- 新增 Vite、React 和 TypeScript 的基础模板 - 添加 ESLint 和 Husky 进行代码检查和提交钩子 - 创建基本的 HTML、CSS 和 TypeScript 文件 - 配置 tsconfig 和 Vite 相关文件
This commit is contained in:
commit
e348e16170
20 files changed
+782
No files matched your search
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
||||
"incremental": true,
|
||||
"target": "ES2022",
|
||||
"lib": ["ES2023"],
|
||||
"module": "ESNext",
|
||||
"skipLibCheck": true,
|
||||
|
||||
/* Bundler mode */
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"isolatedModules": true,
|
||||
"moduleDetection": "force",
|
||||
"noEmit": true,
|
||||
|
||||
/* Linting */
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"noFallthroughCasesInSwitch": true
|
||||
},
|
||||
"include": ["vite.config.ts"]
|
||||
}
|
||||
Reference in new issue
Block a user