frontend: add OXC lint/format setup and apply semicolon fixes
This commit is contained in:
@@ -6,7 +6,11 @@
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vue-tsc --noEmit && vite build",
|
||||
"preview": "vite preview"
|
||||
"preview": "vite preview",
|
||||
"lint": "oxlint --vue-plugin --import-plugin src",
|
||||
"lint:fix": "npm run lint -- --fix",
|
||||
"format": "oxfmt --config oxfmt.json src",
|
||||
"format:check": "oxfmt --config oxfmt.json --check src"
|
||||
},
|
||||
"dependencies": {
|
||||
"country-flag-icons": "^1.6.17",
|
||||
@@ -15,6 +19,8 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^5.0.0",
|
||||
"oxfmt": "^0.51.0",
|
||||
"oxlint": "^1.66.0",
|
||||
"typescript": "^5.3.0",
|
||||
"vite": "^5.0.0",
|
||||
"vue-tsc": "^2.0.0"
|
||||
|
||||
Reference in New Issue
Block a user