Explorar o código

Extend .editorconfig

jmacura %!s(int64=5) %!d(string=hai) anos
pai
achega
30287661ac
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  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