Skip to content

Commit

Permalink
Introduce .editorconfig for ruby files
Browse files Browse the repository at this point in the history
Many editors and IDEs will leverage an .editorconfig out of the box

This basic configuration for ruby files tells the editor to behave
per how rubocop is configured to handle whitespace
  • Loading branch information
Brian Butz committed Jul 21, 2020
1 parent 9cc945a commit ffc6b59
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*.rb]
insert_final_newline = true
trim_trailing_whitespace = true

0 comments on commit ffc6b59

Please sign in to comment.