Added .editorconfig file.

This commit is contained in:
moony 2022-01-10 20:55:42 -08:00
parent 58c666a5fc
commit f9b4241ca9

23
.editorconfig Normal file
View File

@ -0,0 +1,23 @@
; https://editorconfig.org/
root = true
[*]
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
[{Makefile,go.mod,go.sum,*.go,.gitmodules}]
indent_style = tab
indent_size = 4
[*.md]
indent_size = 4
trim_trailing_whitespace = false
eclint_indent_style = unset
[Dockerfile]
indent_size = 4