Browse Source

Update .editorconfig (#3534)

[CI SKIP]
Andrey Nering 4 years ago
parent
commit
9f44c26789
1 changed files with 10 additions and 1 deletions
  1. 10 1
      .editorconfig

+ 10 - 1
.editorconfig

@@ -5,8 +5,17 @@ root = true
5 5
 [*]
6 6
 charset = utf-8
7 7
 end_of_line = lf
8
+insert_final_newline = true
9
+trim_trailing_whitespace = true
10
+
11
+[*.{go,tmpl}]
8 12
 indent_style = tab
13
+indent_size = 4
9 14
 
10
-[*.yml]
15
+[*.{less,yml}]
11 16
 indent_style = space
12 17
 indent_size = 2
18
+
19
+[*.js]
20
+indent_style = space
21
+indent_size = 4