Change ESLint config to use TypeScript

This commit is contained in:
2025-10-10 23:08:00 +03:00
Unverified
parent 17f941a57b
commit 2b63106248
3 changed files with 141 additions and 210 deletions
+3 -2
View File
@@ -15,8 +15,8 @@
"frontend:dev": "vite frontend",
"frontend:typecheck": "tsc --project frontend",
"frontend:lint": "eslint frontend/src --ext .js,.jsx,.ts,.tsx",
"frontend:lint:fix": "eslint frontend/src --ext .js,.jsx,.ts,.tsx --fix",
"frontend:build": "npm run frontend:lint && npm run frontend:typecheck && vite build frontend",
"frontend:check": "npm run frontend:lint && npm run frontend:typecheck",
"frontend:build": "npm run frontend:check && vite build frontend",
"frontend:electron:dev": "VITE_ELECTRON=true npm run frontend:dev",
"frontend:electron:build": "VITE_ELECTRON=true npm run frontend:build && rm -rf out && electron-forge make --force --arch arm64,x64",
"frontend:preview": "vite preview frontend",
@@ -47,6 +47,7 @@
"@electron-forge/plugin-fuses": "^7.9.0",
"@electron/fuses": "^1.0.0",
"@eslint/js": "^9.37.0",
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
"@types/react": "^19.1.13",
"@types/react-dom": "^19.1.9",
"@typescript-eslint/eslint-plugin": "^8.46.0",