Skip to content

Instantly share code, notes, and snippets.

@GhostofGoes
Last active March 22, 2019 03:29
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 GhostofGoes/1c806a5013b75d8500edb0fd82b2f54b to your computer and use it in GitHub Desktop.
Save GhostofGoes/1c806a5013b75d8500edb0fd82b2f54b to your computer and use it in GitHub Desktop.
Base .editorconfig for use in various projects of mine. https://editorconfig.org/
# https://editorconfig.org/
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
[*.py]
max_line_length = 99
insert_final_newline = true
trim_trailing_whitespace = true
[*.{yml,yaml}]
indent_size = 2
[*.json]
indent_size = 2
insert_final_newline = unset
[Makefile]
indent_style = tab
[*.ps1]
end_of_line = crlf
[Vagrantfile]
indent_size = 2
[*.{xml,xslt}]
indent_size=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment