Archived
vite dev server 代理 /api、/v1 到 GATEWAY(仅从环境变量读取,.env.example 提供示例,代码不写死默认值,dev 未配置时报错);oxlint + eslint + prettier;vitest 含 jsdom 组件测试环境。
11 lines
217 B
JSON
11 lines
217 B
JSON
{
|
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
"plugins": ["eslint", "typescript", "unicorn", "oxc", "vue"],
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"categories": {
|
|
"correctness": "error"
|
|
}
|
|
}
|