Commit 20ac8bf8 by Tyndie Committed by Torkel Ödegaard

Set .go tab size to 4 in .editorconfig (#8099)

Tab size was added as 2 in .editorconfig but a tab size of 4 is used
throughout go code base.

This can cause editors such as vscode to automatically reformat open .go
files to tab size 2 from 4.
parent 8eb112d1
...@@ -3,7 +3,7 @@ root = true ...@@ -3,7 +3,7 @@ root = true
[*.go] [*.go]
indent_style = tab indent_style = tab
indent_size = 2 indent_size = 4
charset = utf-8 charset = utf-8
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment