Skip to content

Commit 97cabf3

Browse files
silverwindlafriks
andauthored
Change tab width for .go files to 4 (#11455)
* Change tab width for .go files to 4 I thing 8-wide tabs are kind of archaic and inconsisten with template files which already use 4-wide. Also did some misc cleanups in the .editorconfig files. * add css Co-authored-by: Lauris BH <[email protected]>
1 parent 4e302ba commit 97cabf3

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.editorconfig

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# http://editorconfig.org
21
root = true
32

43
[*]
@@ -10,23 +9,15 @@ end_of_line = lf
109
[*.md]
1110
trim_trailing_whitespace = false
1211

13-
[*.go]
14-
indent_style = tab
15-
indent_size = 8
16-
17-
[*.{tmpl,html}]
12+
[*.{go,tmpl,html}]
1813
indent_style = tab
1914
indent_size = 4
2015

21-
[*.less]
16+
[*.{less,css}]
2217
indent_style = space
2318
indent_size = 4
2419

25-
[*.{yml,json}]
26-
indent_style = space
27-
indent_size = 2
28-
29-
[*.js]
20+
[*.{js,json,yml}]
3021
indent_style = space
3122
indent_size = 2
3223

0 commit comments

Comments
 (0)