Skip to content

Instantly share code, notes, and snippets.

@zetavg
Created May 12, 2014 07:54
Show Gist options
  • Save zetavg/4ab928bbf79ef6644675 to your computer and use it in GitHub Desktop.
Save zetavg/4ab928bbf79ef6644675 to your computer and use it in GitHub Desktop.
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
# 2 space indentation by default
[*]
indent_style = space
indent_size = 2
# Tab indentation (no size specified)
[**.json]
indent_style = tab
indent_size = 4
tab_size = 4
[**.css]
indent_style = tab
indent_size = 4
tab_size = 4
[**.scss]
indent_style = tab
indent_size = 4
tab_size = 4
# Don't trim trailing whitespace for markdown files
[**.md]
trim_trailing_whitespace = false
[**.markdown]
trim_trailing_whitespace = false
[**.slim]
trim_trailing_whitespace = false
[**.erb]
trim_trailing_whitespace = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment