- 添加 .env 及相关文件,配置环境变量 - 添加 .eslintignore 和 .eslintrc.js 文件,配置 ESLint 规则 - 添加 .gitignore 文件,配置 Git忽略项 - 添加 .prettierignore 文件,配置 Prettier 忽略项 - 添加隐私政策文档,详细说明用户数据的收集和使用
38 lines
894 B
JSON
38 lines
894 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strictFunctionTypes": false,
|
|
"jsx": "preserve",
|
|
"baseUrl": "./",
|
|
"allowJs": true,
|
|
"sourceMap": true,
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"experimentalDecorators": true,
|
|
"lib": ["esnext", "dom"],
|
|
"types": ["vite/client"],
|
|
"typeRoots": ["./node_modules/@types/"],
|
|
"noImplicitAny": false,
|
|
"skipLibCheck": true,
|
|
"paths": {
|
|
"@/*": ["src/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"src/**/*.d.ts",
|
|
"src/**/*.tsx",
|
|
"src/**/*.vue",
|
|
"components.d.ts",
|
|
"vite.config.ts"
|
|
],
|
|
"exclude": ["node_modules", "dist", "**/*.js"]
|
|
}
|