Skip to content

Instantly share code, notes, and snippets.

@dfreerksen
Last active August 16, 2018 02:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dfreerksen/ab253d7a9968ca4a8643052fb36b0773 to your computer and use it in GitHub Desktop.
Save dfreerksen/ab253d7a9968ca4a8643052fb36b0773 to your computer and use it in GitHub Desktop.
.editorconfig for Ruby projects
# EditorConfig is awesome: http://EditorConfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
[*.rb]
max_line_length = 80
[*.{coffee,css,erb,html,js,scss,ts}]
max_line_length = 120
[*.{jbuilder,json,md,yml}]
insert_final_newline = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment