Skip to content

Instantly share code, notes, and snippets.

@borestad
Last active August 29, 2015 14:12
Show Gist options
  • Save borestad/9051bb5fd179e7c8c965 to your computer and use it in GitHub Desktop.
Save borestad/9051bb5fd179e7c8c965 to your computer and use it in GitHub Desktop.
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{coffee, css, html, javascript, js, ls, less, sass, scss, styl}]
indent_style = space
indent_size = 2
[*.{markdown, md}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
[*.php]
indent_style = space
indent_size = 4
[*.{py, rst}]
indent_style = space
indent_size = 4
[.travis.yml]
indent_style = space
indent_size = 2
[Gemfile*]
indent_style = space
indent_size = 2
[Makefile]
indent_style = tab
[package.json]
indent_style = space
indent_size = 2
[Rakefile]
indent_style = space
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment