Golang editorconfig - flowup/knowledge GitHub Wiki
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
# Go lang uses tabs by default
[*.go]
indent_style = tab