Skip to content

Instantly share code, notes, and snippets.

@mattbanks
Created March 12, 2018 17:48
Show Gist options
  • Save mattbanks/374e6f7b9023a6d6595cbc8742f1aa53 to your computer and use it in GitHub Desktop.
Save mattbanks/374e6f7b9023a6d6595cbc8742f1aa53 to your computer and use it in GitHub Desktop.
base editorconfig
# EditorConfig coding styles definitions. For more information about the
# properties used in this file, please see the EditorConfig documentation:
# http://editorconfig.org/
# indicate this is the root of the project
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{xml,py,java,go,sh}]
indent_style = tab
indent_size = 4
[Makefile]
indent_style = tab
indent_size = 4
[*.json]
insert_final_newline = false
[*.md]
trim_trailing_whitespace = false
insert_final_newline = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment