From 7c3f2d371c4be746720d0ea708a3e06ec0012c78 Mon Sep 17 00:00:00 2001 From: Max Hoffmann Date: Thu, 22 Mar 2018 23:20:53 -0400 Subject: [PATCH] VSCode workspace settings and extension recommendations --- .editorconfig | 15 +++++++++++++++ .vscode/extensions.json | 3 +++ .vscode/settings.json | 16 ++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 .editorconfig create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c9fe4a7 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# editorconfig.org +root = true + +[*] +charset = utf-8 +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +# Markdown syntax specifies that trailing whitespaces can be meaningful, +# so let’s not trim those. e.g. 2 trailing spaces = linebreak (
) +# See https://daringfireball.net/projects/markdown/syntax#p +[*.md] +trim_trailing_whitespace = false diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..9ac60ed --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["dbaeumer.vscode-eslint", "EditorConfig.editorconfig", "esbenp.prettier-vscode"] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..3b46b4d --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,16 @@ +{ + "files.exclude": { + "**/.git": true, + "**/.DS_Store": true, + "**/node_modules": true, + "lib": true + }, + "search.exclude": { + "**/node_modules": true, + "lib": true + }, + "editor.formatOnSave": true, + "prettier.eslintIntegration": true, + "javascript.validate.enable": false, + "eslint.validate": ["javascript"] +}