frontend: add OXC lint/format setup and apply semicolon fixes

This commit is contained in:
2026-05-25 02:54:30 +00:00
parent 836a563897
commit f6a40babc9
26 changed files with 3452 additions and 3130 deletions
+5 -1
View File
@@ -2,7 +2,11 @@
"tasks": {
"dev": "deno run -A npm:vite",
"build": "deno run -A npm:vue-tsc --noEmit && deno run -A npm:vite build",
"preview": "deno run -A npm:vite preview"
"preview": "deno run -A npm:vite preview",
"lint": "deno run -A npm:oxlint --vue-plugin --import-plugin src",
"lint:fix": "deno task lint --fix",
"format": "deno run -A npm:oxfmt --config oxfmt.json src",
"format:check": "deno run -A npm:oxfmt --config oxfmt.json --check src"
},
"imports": {
"vue": "npm:vue@^3.4.0"