Created
February 16, 2018 11:39
-
-
Save jespada/f1ef45888870892fd248ff1cfb09e734 to your computer and use it in GitHub Desktop.
editorconfig general
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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