Skip to content

Instantly share code, notes, and snippets.

@nesterchung
Created June 7, 2013 17:30
Show Gist options
  • Save nesterchung/5730930 to your computer and use it in GitHub Desktop.
Save nesterchung/5730930 to your computer and use it in GitHub Desktop.
# editorconfig.org
root = true
[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
# Tabs in JS unless otherwise specified
[**.js]
indent_style = tab
; Use 2 spaces for indentation in all Ruby files
[*.rb]
indent_style = space
indent_size = 2
[Rakefile]
indent_style = space
indent_size = 2
[Gemfile*]
indent_style = space
indent_size = 2
[config.ru]
indent_style = space
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment