chore(web): add default frontend oxc tooling (#5585)

- add oxlint and oxfmt configuration for web/default quality checks

- replace ESLint and Prettier scripts with protected-header Oxc formatting

- update frontend workspace dependencies for oxlint and oxfmt
This commit is contained in:
QuentinHsu
2026-06-19 14:58:53 +08:00
committed by GitHub
parent 0c806db996
commit 5b4839fa37
10 changed files with 522 additions and 311 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
| UI 与样式 | Base UI、Hugeicons、Tailwind CSS、clsx / class-variance-authority |
| 表单 | React Hook Form、Zod |
| 图表 | @visactor/vchart@visactor/react-vchart |
| 工具 | qrcode.react、prettier、eslint、vitest(可选)|
| 工具 | qrcode.react、oxfmt、oxlint、vitest(可选)|
优先选用成熟、维护良好的开源库;仅在现有库无法满足或需特殊适配时自行实现,并评估可维护性与通用性。