
添加.oxlintrc.json配置文件以启用oxlint检查,并更新.prettierrc.cjs以支持jsonc文件格式。同时在useUpload.ts中恢复accept参数的默认值。
12 lines
185 B
JSON
12 lines
185 B
JSON
{
|
|
"extends": ["@oxlint/recommended"],
|
|
"rules": {
|
|
"no-console": "off",
|
|
"no-unused-vars": "off"
|
|
},
|
|
"files": ["src/**/*.{js,ts,vue}"],
|
|
"vue": {
|
|
"enabled": true
|
|
}
|
|
}
|