Skip to content

Instantly share code, notes, and snippets.

@jespada
Created February 16, 2018 11:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jespada/f1ef45888870892fd248ff1cfb09e734 to your computer and use it in GitHub Desktop.
Save jespada/f1ef45888870892fd248ff1cfb09e734 to your computer and use it in GitHub Desktop.
editorconfig general
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 2
; Use tabs for indentation (Makefiles require tabs)
[{Makefile,**.mk}]
indent_style = tab
indent_size = 4
[*.{pp,rb}]
charset = utf-8
indent_style = space
[*.pp]
indent_size = 4
[*.rb]
indent_size = 4
; Python: PEP8 defines 4 spaces for indentation
[*.py]
indent_style = space
indent_size = 4
; Salt state files, YAML format, 2 spaces
[*.sls, *.yaml, *.yml]
indent_style = space
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment