Skip to content

Commit

Permalink
Add VSCode and EditorConfig files
Browse files Browse the repository at this point in the history
  • Loading branch information
ob-stripe committed May 9, 2019
1 parent e3f38cb commit 1600b64
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
11 changes: 11 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"recommendations": [
// JS Language plugins (~required)
"dbaeumer.vscode-eslint",
"joshpeng.sublime-babel-vscode",
"esbenp.prettier-vscode",

// Highly recommended
"EditorConfig.editorconfig"
]
}
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
// Show the path in the top window bar.
"window.title": "${rootName}${separator}${activeEditorMedium}",

// Formatting
"editor.formatOnSave": true,
"beautify.ignore": ["**/*.js", "**/*.md"],

// Extension settings
"eslint.autoFixOnSave": true,
"eslint.packageManager": "yarn",
"npm.packageManager": "yarn"
}

0 comments on commit 1600b64

Please sign in to comment.