Basic ESLint config for Electron-TypeScript projects. Requireseslint >= 9.0.0. This config is specifically designed to be used by@quick-start/create-electronsetups. Installation npm add -D @electron-toolkit/esl
"@electron-toolkit/eslint-config": "^1.0.2", "@rushstack/eslint-patch": "^1.10.3", "@vitejs/plugin-vue": "^5.0.5", "@vue/eslint-config-prettier": "^9.0.0", "electron": "^31.0.2", "electron-builder": "^24.13.3", "electron-vite": "^2.3.0", "eslint": "^8.57.0",...
import eslintConfigPrettier from '@electron-toolkit/eslint-config-prettier' import eslintPluginVue from 'eslint-plugin-vue' export default tseslint.config( { ignores: ['**/node_modules', '**/dist', '**/out'] }, tseslint.configs.recommended, eslintPluginVue.configs['flat/recommen...
25 + "@electron-toolkit/utils": "^3.0.0", 26 + "easemob-chat-uikit": "^1.2.0", 27 + "electron-updater": "^6.1.7" 28 + }, 29 + "devDependencies": { 30 + "@electron-toolkit/eslint-config-prettier": "^2.0.0", 31 + "@electron-toolkit/eslint-config-ts": "^2.0...
"@electron-toolkit/eslint-config-ts": "^1.0.1", "@electron-toolkit/tsconfig": "^1.0.1", "@rushstack/eslint-patch": "^1.3.3", "@types/node": "^18.17.5", "@vitejs/plugin-vue": "^4.3.1", "@vue/eslint-config-prettier": "^8.0.0", "@vue/eslint-config-typescript": "^11...
"@electron-toolkit/eslint-config":"^2.0.0", "@electron-toolkit/eslint-config-prettier":"^3.0.0", "@vitejs/plugin-vue":"^5.2.1", "electron":"^35.0.3", "electron-builder":"^25.1.8", "electron-vite":"^3.0.0", "eslint":"^9.20.1", ...
使用ESLint + Prettier更好的代码风格和质量检查,帮助你编写高质量的代码 使用electron-vite,一个与 Vite 集成非常快的构建工具,简单易用无需关注配置。 使用electron-toolkit提供的实用API,辅助开发。 使用electron-builder并预设打包配置,让你轻松打包。
{ "@electron/notarize": "^1.2.3", "@rushstack/eslint-patch": "^1.3.0", "@vitejs/plugin-vue": "^4.2.3", "@vue/eslint-config-prettier": "^7.1.0", "electron": "^24.4.1", "electron-builder": "^23.6.0", "electron-vite": "^1.0.23", "eslint": "^8.42.0", "eslint-...
状态管理:Redux。使用了官方的@reduxjs/toolkit和react-redux。 目录结构:参考了业界的一些比较好的实践(如目录结构 (umijs.org)),结合了自身习惯和具体需求,但是后面发现结构其实还不太完美,后面学习中发现了一个更好的实践:bulletproof-react。 风格规范:ESLint、Husky、Prettier、Editorconfig等。
ESLint mounted() IPC(Inter-Process Communication) 渲染进程 TO 主进程 ipcRenderer.send ipcMain.on 主进程 TO 渲染进程 ipcRenderer.on 渲染进程 TO 渲染进程 ipcRenderer.sendTo 窗口位置 关闭窗口 websocket Nodejs 钉钉 webhook localStorage 参考文档 初始化 pnpm create @quick-start/electron ? Add TypeScr...