mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 02:10:45 -06:00
20ac8bf83e
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.
20 lines
316 B
INI
20 lines
316 B
INI
# http://editorconfig.org
|
|
root = true
|
|
|
|
[*.go]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 2
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|