Skip to content

Instantly share code, notes, and snippets.

@alexander-alegre
Forked from JamesMGreene/.editorconfig
Created February 20, 2018 18:17
Show Gist options
  • Save alexander-alegre/a71de26f30a531da62f0d5a701548c16 to your computer and use it in GitHub Desktop.
Save alexander-alegre/a71de26f30a531da62f0d5a701548c16 to your computer and use it in GitHub Desktop.
Example EditorConfig file
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
[*.txt]
indent_style = tab
indent_size = 4
[*.{diff,md}]
trim_trailing_whitespace = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment