summaryrefslogtreecommitdiffstats
path: root/.editorconfig
blob: 15a88a14eb0171b15453a878c806f877f8b7b0e9 (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
28
29
30
31
32
33
34
# http://editorconfig.org
root = true

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

[*.md]
trim_trailing_whitespace = false

[*.go]
indent_style = tab
indent_size = 8

[*.{tmpl,html}]
indent_style = tab
indent_size = 4

[*.less]
indent_style = space
indent_size = 4

[*.{yml,json}]
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 2

[Makefile]
indent_style = tab