chore(web): eslint flat-config + prettier setup

This commit is contained in:
2026-04-29 07:41:51 +08:00
parent aef7b0b661
commit 35b812e594
8 changed files with 60 additions and 4 deletions
+2 -1
View File
@@ -10,7 +10,7 @@
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint . --ext .vue,.ts,.tsx",
"lint": "eslint .",
"format": "prettier -w .",
"typecheck": "vue-tsc --noEmit"
},
@@ -41,6 +41,7 @@
"typescript-eslint": "^8.59.1",
"vite": "^8.0.10",
"vitest": "^4.1.5",
"vue-eslint-parser": "^10.4.0",
"vue-tsc": "^3.2.7"
}
}