ci: 添加oxlint配置并更新prettier规则

添加.oxlintrc.json配置文件以启用oxlint检查,并更新.prettierrc.cjs以支持jsonc文件格式。同时在useUpload.ts中恢复accept参数的默认值。
This commit is contained in:
feige996
2025-06-13 17:28:51 +08:00
parent 2fb1e6d71c
commit 305ac6dccd
3 changed files with 13 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ module.exports = {
htmlWhitespaceSensitivity: 'ignore',
overrides: [
{
files: '*.json',
files: '*.{json,jsonc}',
options: {
trailingComma: 'none',
},