소스 검색

Extend .editorconfig

jmacura 5 년 전
부모
커밋
30287661ac
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      .editorconfig

+ 4 - 4
.editorconfig

@@ -4,12 +4,12 @@
 # top-most EditorConfig file
 root = true
 
-# Newline ending every file
+# Newline ending every file and set default charset
 [*]
 insert_final_newline = true
+charset = utf-8
 
-# 2 space indentation and set default charset
-[*.js]
+# 2 space indentation
+[*.{js,ts,html,css}]
 indent_style = space
 indent_size = 2
-charset = utf-8