Skip to content

Commit

Permalink
Add VSCode and EditorConfig files (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
ob-stripe authored May 23, 2019
1 parent b26d57c commit ab180e7
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# see http://editorconfig.org/

root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
insert_final_newline = true
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"rebornix.ruby",
"misogi.ruby-rubocop",
"EditorConfig.editorconfig"
]
}
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"editor.formatOnSave": true,
"files.trimTrailingWhitespace": true,

// Rubocop settings
"ruby.rubocop.configFilePath": ".rubocop.yml",
"ruby.rubocop.onSave": true
}

0 comments on commit ab180e7

Please sign in to comment.