Create .editorconfig

I think it'd be a good idea to add an `.editorconfig` to the projects root for contributors to easily see the code-formatting style as is common with most Open Source projects.
This commit is contained in:
Christian Oliff authored and Bjørn Erik Pedersen committed 2019-07-30 17:49:06 +02:00
1 parent fe33c2307f
commit 5875812ebf
1 file changed
+20
+20
View File
@@ -0,0 +1,20 @@
# https://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
[*.go]
indent_size = 8
indent_style = tab
[*.js]
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false