diff --git a/.eslintrc.js b/.eslintrc.js index d4144c4f..7574bf64 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -2,26 +2,21 @@ module.exports = { root: true, env: { - node: true + node: true, }, - extends: ["plugin:vue/essential"], - rules: { - "no-console": process.env.NODE_ENV === "production" ? "error" : "off", - "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", - "arrow-body-style": "off", - "prefer-arrow-callback": "off", - "vue/multi-word-component-names": "off", - "vue/no-useless-template-attributes": "off", + 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', + 'arrow-body-style': 'off', + 'prefer-arrow-callback': 'off', + 'vue/multi-word-component-names': 'off', + 'vue/no-useless-template-attributes': 'off', }, parserOptions: { - parser: '@typescript-eslint/parser' + parser: '@typescript-eslint/parser', }, - 'extends': [ - 'plugin:vue/essential', - '@vue/typescript' - ] + extends: ['plugin:vue/vue3-essential', '@vue/typescript'], }; diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index a357a8eb..00000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Electron: Main", - "type": "node", - "request": "launch", - "protocol": "inspector", - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron", - "windows": { - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd" - }, - "preLaunchTask": "electron-debug", - "args": [ - "--remote-debugging-port=9223", - "./dist_electron" - ], - "outFiles": [ - "${workspaceFolder}/dist_electron/**/*.js" - ] - }, - { - "name": "Electron: Renderer", - "type": "chrome", - "request": "attach", - "port": 9223, - "urlFilter": "http://localhost:*", - "timeout": 30000, - "webRoot": "${workspaceFolder}/src", - "sourceMapPathOverrides": { - "webpack:///./src/*": "${webRoot}/*" - } - } - ], - "compounds": [ - { - "name": "Electron: All", - "configurations": [ - "Electron: Main", - "Electron: Renderer" - ] - } - ] -}