소스 검색

Update .editorconfig (#3534)

[CI SKIP]
Andrey Nering 8 년 전
부모
커밋
9f44c26789
1개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. 10 1
      .editorconfig

+ 10 - 1
.editorconfig

@@ -5,8 +5,17 @@ root = true
 [*]
 charset = utf-8
 end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{go,tmpl}]
 indent_style = tab
+indent_size = 4
 
-[*.yml]
+[*.{less,yml}]
 indent_style = space
 indent_size = 2
+
+[*.js]
+indent_style = space
+indent_size = 4