editorconfig: update to match our coding style

Update editorconfig to match our coding style. Most importantly, we set
up the tab width to be 8 characters instead of the default and use
2 spaces to indent YAML files.
This commit is contained in:
Patrick Steinhardt
2019-07-24 08:20:08 +02:00
parent 82b1d1da2b
commit ab545014a1

View File

@@ -1,14 +1,16 @@
; Check http://editorconfig.org/ for more informations
; Top-most EditorConfig file
root = true
; tab indentation
[*]
indent_style = tab
tab_width = 8
trim_trailing_whitespace = true
insert_final_newline = true
; 4-column space indentation
[*.yml]
indent_style = space
indent_size = 2
[*.md]
indent_style = space
indent_size = 4