Skip to content

Golang editorconfig

Vojtech Mašek edited this page Aug 19, 2019 · 2 revisions
# 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
Clone this wiki locally