From 8045242d9ca6bf962e3de579a8e9634ce0dfa5ba Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 19 Jun 2020 23:38:38 +0200 Subject: viewer: autoformat using eslint-prettier instead of VSC's integrated formatters --- viewer/visualstudio.code-workspace | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'viewer/visualstudio.code-workspace') diff --git a/viewer/visualstudio.code-workspace b/viewer/visualstudio.code-workspace index 8315cbb..fb23e99 100644 --- a/viewer/visualstudio.code-workspace +++ b/viewer/visualstudio.code-workspace @@ -6,22 +6,33 @@ ], "settings": { "editor.tabSize": 2, - "editor.formatOnSave": true, "editor.wordBasedSuggestions": false, "editor.detectIndentation": false, "files.insertFinalNewline": true, "files.trimFinalNewlines": true, "javascript.format.semicolons": "insert", "typescript.disableAutomaticTypeAcquisition": true, - "vue-i18n-ally.keystyle": "flat", - "vue-i18n-ally.localesPaths": "src/locales", "i18n-ally.localesPaths": "src/locales", + // --- + // Autoformating is done with eslint-prettier + "eslint.enable": true, + "eslint.onIgnoredFiles": "warn", + "vetur.format.enable": false, + "javascript.format.enable": false, + "typescript.format.enable": false, + "html.format.enable": false, + "eslint.format.enable": false, + "editor.formatOnSave": false, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true, + }, + // --- }, } // Recommended Visual Studio Code extensions: // - Vetur // - ESLint -// - Vue i18n Ally +// - i18n Ally // - SCSS Everywhere // - SCSS Formatter // - Debugger for Chrome -- cgit v1.2.3 From b3a90f88b5652db8548507261e445ea0a1e7d444 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Thu, 20 Aug 2020 00:12:42 +0200 Subject: viewer: project configuration, removed version automatic upgrades with npm --- viewer/visualstudio.code-workspace | 1 + 1 file changed, 1 insertion(+) (limited to 'viewer/visualstudio.code-workspace') diff --git a/viewer/visualstudio.code-workspace b/viewer/visualstudio.code-workspace index fb23e99..40d8f21 100644 --- a/viewer/visualstudio.code-workspace +++ b/viewer/visualstudio.code-workspace @@ -13,6 +13,7 @@ "javascript.format.semicolons": "insert", "typescript.disableAutomaticTypeAcquisition": true, "i18n-ally.localesPaths": "src/locales", + "i18n-ally.keystyle": "flat", // --- // Autoformating is done with eslint-prettier "eslint.enable": true, -- cgit v1.2.3 From 12b8f20f3dc1cdbda820808755545a8ce1382123 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 11 Sep 2020 19:47:06 +0200 Subject: viewer: i18n-ally configuration and locale file sort --- viewer/visualstudio.code-workspace | 2 ++ 1 file changed, 2 insertions(+) (limited to 'viewer/visualstudio.code-workspace') diff --git a/viewer/visualstudio.code-workspace b/viewer/visualstudio.code-workspace index 40d8f21..a9f7052 100644 --- a/viewer/visualstudio.code-workspace +++ b/viewer/visualstudio.code-workspace @@ -14,6 +14,8 @@ "typescript.disableAutomaticTypeAcquisition": true, "i18n-ally.localesPaths": "src/locales", "i18n-ally.keystyle": "flat", + "i18n-ally.enabledFrameworks": ["vue"], + "i18n-ally.sortKeys": true, // --- // Autoformating is done with eslint-prettier "eslint.enable": true, -- cgit v1.2.3