diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..36bd0356c --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..76d3fda2c --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "rebornix.ruby", + "misogi.ruby-rubocop", + "EditorConfig.editorconfig" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..a176040f7 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "editor.formatOnSave": true, + "files.trimTrailingWhitespace": true, + + // Rubocop settings + "ruby.rubocop.configFilePath": ".rubocop.yml", + "ruby.rubocop.onSave": true +}