VSCode workspace settings and extension recommendations

This commit is contained in:
Max Hoffmann 2018-03-22 23:20:53 -04:00
parent fa301e9efe
commit 7c3f2d371c
No known key found for this signature in database
GPG Key ID: 1DFA4D13DD27A676
3 changed files with 34 additions and 0 deletions

15
.editorconfig Normal file
View File

@ -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 lets not trim those. e.g. 2 trailing spaces = linebreak (<br />)
# See https://daringfireball.net/projects/markdown/syntax#p
[*.md]
trim_trailing_whitespace = false

3
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "EditorConfig.editorconfig", "esbenp.prettier-vscode"]
}

16
.vscode/settings.json vendored Normal file
View File

@ -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"]
}