From 440e3532070d93edfbb0e1ea07eba0c73a2eb046 Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Tue, 27 Oct 2020 15:43:56 -0700 Subject: [PATCH] Adding settings.json using for VSCode. Need to remove vscode.json after reviewing. --- settings.json | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 settings.json diff --git a/settings.json b/settings.json new file mode 100644 index 0000000..0896b7e --- /dev/null +++ b/settings.json @@ -0,0 +1,41 @@ +{ + "telemetry.enableTelemetry": false, + "editor.wordWrap": "off", + "javascript.updateImportsOnFileMove.enabled": "always", + "editor.renderWhitespace": "all", + // These are all my auto-save configs + "editor.formatOnSave": true, + // turn it off for JS and JSX, we will do this via eslint + "[javascript]": { + "editor.formatOnSave": false + }, + "[javascriptreact]": { + "editor.formatOnSave": false + }, + // show eslint icon at bottom toolbar + "eslint.alwaysShowStatus": true, + // tell the ESLint plugin to run on save + "editor.codeActionsOnSave": { + "source.fixAll": true + }, + // Optional BUT IMPORTANT: If you have the prettier extension enabled for other languages like CSS and HTML, turn it off for JS since we are doing it through Eslint already + "prettier.disableLanguages": [ + "javascript", + "javascriptreact" + ], + "editor.tabSize": 2, + "workbench.colorTheme": "Cobalt2", + "editor.fontFamily": "Menlo, Monaco, 'Courier New', monospace, Fira Code Retina", + "editor.fontLigatures": true, + "editor.fontSize": 13, + "editor.quickSuggestions": { + "other": true, + "comments": false, + "strings": false + }, + "emmet.showSuggestionsAsSnippets": true, + "editor.snippetSuggestions": "top", + "emmet.triggerExpansionOnTab": true, + "editor.formatOnPaste": false, + "editor.formatOnType": false +}