diff --git a/theseus_gui/.editorconfig b/theseus_gui/.editorconfig new file mode 100644 index 000000000..2930e090a --- /dev/null +++ b/theseus_gui/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +max_line_length = 100 + +[*.md] +trim_trailing_whitespace = false diff --git a/theseus_gui/eslintrc.json b/theseus_gui/.eslintrc.json similarity index 50% rename from theseus_gui/eslintrc.json rename to theseus_gui/.eslintrc.json index a8a97197c..5a3cab20b 100644 --- a/theseus_gui/eslintrc.json +++ b/theseus_gui/.eslintrc.json @@ -4,29 +4,18 @@ "es2021": true, "node": true }, - "extends": [ - "eslint:recommended", - "plugin:vue/vue3-recommended", - "plugin:@typescript-eslint/recommended", - "prettier" - ], + "extends": ["eslint:recommended", "plugin:vue/vue3-recommended", "prettier"], "parserOptions": { "ecmaVersion": "latest", - "parser": "@typescript-eslint/parser", "sourceType": "module" }, - "plugins": [ - "vue", - "@typescript-eslint" - ], + "plugins": ["vue"], "rules": { "no-console": "off", "vue/no-v-html": "off", - "comma-dangle": [ - "error", - "only-multiline" - ], + "comma-dangle": ["error", "only-multiline"], + "vue/comment-directive": "off", "vue/multi-word-component-names": "off", "import/no-named-as-default": "off" } -} \ No newline at end of file +} diff --git a/theseus_gui/.prettierrc.json b/theseus_gui/.prettierrc.json index bed0b141f..ae07ef4ad 100644 --- a/theseus_gui/.prettierrc.json +++ b/theseus_gui/.prettierrc.json @@ -3,4 +3,4 @@ "semi": false, "singleQuote": true, "endOfLine": "auto" -} \ No newline at end of file +} diff --git a/theseus_gui/.vscode/extensions.json b/theseus_gui/.vscode/extensions.json index cf4385bdd..b9cd890a7 100644 --- a/theseus_gui/.vscode/extensions.json +++ b/theseus_gui/.vscode/extensions.json @@ -1,7 +1,3 @@ { - "recommendations": [ - "Vue.volar", - "tauri-apps.tauri-vscode", - "rust-lang.rust-analyzer" - ] + "recommendations": ["Vue.volar", "tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"] } diff --git a/theseus_gui/package.json b/theseus_gui/package.json index 749a3aa81..44a0a57d0 100644 --- a/theseus_gui/package.json +++ b/theseus_gui/package.json @@ -27,7 +27,7 @@ "eslint": "^8.35.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-vue": "^9.9.0", - "prettier": "^2.8.4", + "prettier": "^2.8.7", "sass": "^1.58.3", "vite": "^4.0.0", "vite-plugin-eslint": "^1.8.1" diff --git a/theseus_gui/src-tauri/tauri.conf.json b/theseus_gui/src-tauri/tauri.conf.json index 8f4367fe9..2833ebe91 100644 --- a/theseus_gui/src-tauri/tauri.conf.json +++ b/theseus_gui/src-tauri/tauri.conf.json @@ -26,9 +26,7 @@ "depends": [] }, "externalBin": [], - "icon": [ - "icons/favicon.ico" - ], + "icon": ["icons/favicon.ico"], "identifier": "com.tauri.dev", "longDescription": "", "macOS": { @@ -63,4 +61,4 @@ } ] } -} \ No newline at end of file +} diff --git a/theseus_gui/src/App.vue b/theseus_gui/src/App.vue index 8aa478030..ce5ffb1fe 100644 --- a/theseus_gui/src/App.vue +++ b/theseus_gui/src/App.vue @@ -48,7 +48,12 @@ watch(theme, (newState) => {

Instances

- +