mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Change ESLint config to use TypeScript
This commit is contained in:
+3
-2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user