Add editorconfig

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2018-08-23 23:07:18 -04:00
parent 125c2cbab6
commit a8eb5d42cf
+26
View File
@@ -0,0 +1,26 @@
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false
[*.toml]
indent_size = 2
[*.yaml]
indent_size = 2
# Makefiles always use tabs for indentation
[Makefile]
indent_style = tab
# Batch files use tabs for indentation
[*.bat]
indent_style = tab