Better styleguide

- EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
This commit is contained in:
deltax 2018-01-09 21:04:14 +01:00 committed by GitHub
parent eb3346fe2f
commit 3a626804ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

21
.editorconfig Normal file
View File

@ -0,0 +1,21 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
max_line_length=120
[*.sh]
indent_style = tab
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
[*.zsh]
indent_style = tab
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false