- 添加项目图标文件(app-icon.png、各平台图标) - 配置开发环境文件(.env、.nvmrc、.npmrc) - 添加静态资源文件(背景图片、字体、音频) - 初始化Tauri后端结构(build.rs、main.rs、模块文件) - 配置前端项目结构(TypeScript、Vue组件、样式) - 添加Node.js API服务基础结构 - 配置构建和开发工具(vite、prettier、gitignore)
28 lines
668 B
JSON
28 lines
668 B
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
|
|
"rules": {
|
|
"typescript/consistent-type-imports": ["error", { "prefer": "type-imports" }],
|
|
"typescript": "error",
|
|
"unicorn": "warn",
|
|
"import": "warn",
|
|
"jsdoc": "warn",
|
|
"jsx-a11y": "off",
|
|
"nextjs": "off",
|
|
"react": "off",
|
|
"react-perf": "off"
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"es2024": true
|
|
},
|
|
"globals": {
|
|
"NodeJS": "readonly"
|
|
},
|
|
"settings": {
|
|
"no-unused-vars": {
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
},
|
|
"ignorePatterns": ["node_modules", "dist", "*.config.js", "*.config.ts", "pnpm-lock.yaml"]
|
|
}
|