summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: 85ac8bf4826dd4aa44c8d0d91a1eaab9d7a4cd9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.go]
indent_style = tab

[{go.mod,go.sum}]
indent_style = tab

[Makefile]
; If somehow this gets set to not-tab, then the resulting Makefile
; won't work.
indent_style = tab

[*.md]
; Emacs markdown-mode gets mixed tabs/spaces wrong, and so I have zero
; faith that any other tool gets it right.
indent_style = space

[*.yml]
indent_style = space
indent_size = 2