Skip to content

Instantly share code, notes, and snippets.

@coding46
Last active August 29, 2015 14:08
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 coding46/c216829d778b3794093e to your computer and use it in GitHub Desktop.
Save coding46/c216829d778b3794093e to your computer and use it in GitHub Desktop.
CfD .editorconfig
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
charset = utf-8
# Get rid of whitespace to avoid diffs with a bunch of EOL changes
trim_trailing_whitespace = true
[*]
end_of_line = lf
insert_final_newline = true
[{*.php,*html,*.js,*.css}]
indent_size = 4
indent_style = tab
[{*.json,*.yml,*.txt,*.sql}]
indent_size = 2
indent_style = space
[{*.xml,*.xlf,*.xsd}]
indent_size = 2
indent_style = tab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment