chore: eslint

This commit is contained in:
2025-07-31 23:58:24 +08:00
parent e862d40a71
commit 7ac42ceae1
2 changed files with 94 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"lint:fix": "eslint . --fix",
"preview": "vite preview"
},
"dependencies": {
@@ -26,6 +26,7 @@
"@types/react-dom": "^19.1.6",
"@vitejs/plugin-react": "^4.6.0",
"eslint": "^9.30.1",
"eslint-plugin-format": "^1.0.1",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",