Explorar el Código

Extend .editorconfig

jmacura hace 5 años
padre
commit
30287661ac
Se han modificado 1 ficheros con 4 adiciones y 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