chore: 初始化项目基础结构和资源文件
- 添加项目图标文件(app-icon.png、各平台图标) - 配置开发环境文件(.env、.nvmrc、.npmrc) - 添加静态资源文件(背景图片、字体、音频) - 初始化Tauri后端结构(build.rs、main.rs、模块文件) - 配置前端项目结构(TypeScript、Vue组件、样式) - 添加Node.js API服务基础结构 - 配置构建和开发工具(vite、prettier、gitignore)
This commit is contained in:
27
node_api/.oxlintrc.json
Normal file
27
node_api/.oxlintrc.json
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"$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"]
|
||||
}
|
||||
Reference in New Issue
Block a user