From 307a0c7b3cc615fdbc462bb3dbcdeed800f58fed Mon Sep 17 00:00:00 2001 From: m1m1sha <18262227804@163.com> Date: Mon, 6 May 2024 12:52:12 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20chore:=20vsc=20workspace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EasyTier.code-workspace | 91 +++++++++++++++++++++++++++++++++++ easytier-gui/.prettierrc.json | 4 -- 2 files changed, 91 insertions(+), 4 deletions(-) create mode 100644 EasyTier.code-workspace delete mode 100644 easytier-gui/.prettierrc.json diff --git a/EasyTier.code-workspace b/EasyTier.code-workspace new file mode 100644 index 0000000..ce8c3a8 --- /dev/null +++ b/EasyTier.code-workspace @@ -0,0 +1,91 @@ +{ + "folders": [ + { + "path": "." + }, + { + "path": "easytier-gui" + }, + { + "path": "easytier" + } + ], + "recommendations": [ + "vue.volar", + "dbaeumer.vscode-eslint" + ], + "settings": { + "i18n-ally.localesPaths": [ + "locales" + ], + // Enable the ESlint flat config support + "eslint.experimental.useFlatConfig": true, + // Disable the default formatter, use eslint instead + "prettier.enable": false, + "editor.formatOnSave": false, + // Auto fix + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit", + "source.organizeImports": "never" + }, + // Silent the stylistic rules in you IDE, but still auto fix them + "eslint.rules.customizations": [ + { + "rule": "style/*", + "severity": "off" + }, + { + "rule": "format/*", + "severity": "off" + }, + { + "rule": "*-indent", + "severity": "off" + }, + { + "rule": "*-spacing", + "severity": "off" + }, + { + "rule": "*-spaces", + "severity": "off" + }, + { + "rule": "*-order", + "severity": "off" + }, + { + "rule": "*-dangle", + "severity": "off" + }, + { + "rule": "*-newline", + "severity": "off" + }, + { + "rule": "*quotes", + "severity": "off" + }, + { + "rule": "*semi", + "severity": "off" + } + ], + // Enable eslint for all supported languages + "eslint.validate": [ + "javascript", + "javascriptreact", + "typescript", + "typescriptreact", + "vue", + "html", + "markdown", + "json", + "jsonc", + "yaml", + "toml", + "gql", + "graphql" + ] + } +} \ No newline at end of file diff --git a/easytier-gui/.prettierrc.json b/easytier-gui/.prettierrc.json deleted file mode 100644 index b2095be..0000000 --- a/easytier-gui/.prettierrc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "semi": false, - "singleQuote": true -}