From f6669bfe78396a91a27312b661c74ba2c23a81ed Mon Sep 17 00:00:00 2001 From: Maurelian Date: Tue, 22 Jun 2021 10:33:49 -0400 Subject: [PATCH] Add minimal vscode settings and extensions (#1109) * chore: add minimal vscode settings and extensions * chore: Add "files.trimTrailingWhitespace" to vscode native config * chore: replace vscode prettier plugin with eslint plugin --- .vscode/extensions.json | 12 ++++++++++++ .vscode/settings.json | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000000..db78da54acff --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,12 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. + // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp + + // List of extensions which should be recommended for users of this workspace. + "recommendations": [ + "dbaeumer.vscode-eslint", + "editorconfig.editorconfig", + "juanblanco.solidity", + "golang.go", + ], +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000000..a7defeb9329f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,11 @@ +{ + "editor.formatOnSave": true, + "[typescript]": { + "editor.defaultFormatter": "dbaeumer.vscode-eslint", + "editor.formatOnSave": true, + }, + "eslint.nodePath": "./node_modules/eslint/bin/", + "eslint.format.enable": true, + "editorconfig.generateAuto": false, + "files.trimTrailingWhitespace": true, +}