mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-05-13 01:11:56 -04:00
Add VSCode and EditorConfig files (#782)
This commit is contained in:
parent
b26d57c90e
commit
ab180e7dfc
10
.editorconfig
Normal file
10
.editorconfig
Normal file
@ -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
.vscode/extensions.json
vendored
Normal file
7
.vscode/extensions.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"rebornix.ruby",
|
||||
"misogi.ruby-rubocop",
|
||||
"EditorConfig.editorconfig"
|
||||
]
|
||||
}
|
8
.vscode/settings.json
vendored
Normal file
8
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"files.trimTrailingWhitespace": true,
|
||||
|
||||
// Rubocop settings
|
||||
"ruby.rubocop.configFilePath": ".rubocop.yml",
|
||||
"ruby.rubocop.onSave": true
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user