Skip to content

Commit fd948a7

Browse files
Update .editorconfig
1 parent 25a4dcb commit fd948a7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.editorconfig

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
# top-most EditorConfig file
44
root = true
55

6-
# Unix-style newlines and whitespace cleanup
6+
# Unix-style newlines, charset, whitespace cleanup
77
[*]
88
end_of_line = lf
9+
charset = utf-8
910
insert_final_newline = true
1011
trim_trailing_whitespace = true
1112
insert_final_newline = true
@@ -19,16 +20,12 @@ trim_trailing_whitespace = false
1920
indent_style = tab
2021
indent_size = 4
2122

22-
# Set default charset
23-
[*.{html,xml,js,css,py}]
24-
charset = utf-8
25-
2623
# python
2724
[*.py]
2825
indent_style = space
2926
indent_size = 4
3027

3128
# webdev + terraform
32-
[*.{html,xml,js,css,gql,tf,tfvars,yml,yaml}]
29+
[*.{html,xml,js,css,json,cfg,tf,tfvars,yml,yaml}]
3330
indent_style = space
3431
indent_size = 2

0 commit comments

Comments
 (0)