aboutsummaryrefslogtreecommitdiff
path: root/.editorconfig
blob: a0cff7cf9b770f56015374f0fa6c04c0650068ac (plain) (blame)
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
root                     = true

[*]
end_of_line              = lf
charset                  = utf-8
trim_trailing_whitespace = true
insert_final_newline     = true
indent_style             = tab
tab_size                 = 8
# indent_size              = 8

[*.go]
max_line_length          = 80

[*.js]
max_line_length          = 80

[*.html]
tab_size                 = 4

[*.tmpl]
tab_size                 = 4


# Note: It is intentional here that JavaScript, HTML, and CSS are indented with
# tabs. I find the "standards" of indenting with two spaces to be confusing and
# unreadable, and I would prefer that things stay consistent with the rest of
# my code base.