Skip to content

Commit 22f1cf5

Browse files
committed
Tune up .editorconfig
1 parent 89cf76b commit 22f1cf5

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.editorconfig

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,25 @@
22

33
# top-most EditorConfig file
44
root = true
5-
charset = utf-8
6-
trim_trailing_whitespace = true
75

86
[*]
97
end_of_line = lf
108
insert_final_newline = true
119
indent_style = tab
1210
indent_size = 4
11+
charset = utf-8
12+
trim_trailing_whitespace = true
1313

14-
[*.php]
14+
[*.{awk,w32,bat,mk,frag,psm1}]
15+
indent_style = tab
16+
17+
[*.{php,phpt,xml,json,w32}]
1518
indent_style = space
1619

1720
[*.yml]
21+
indent_size = 4
1822
indent_style = space
1923

2024
[*.md]
2125
indent_style = space
22-
23-
[*.xml]
24-
indent_style = space
25-
26-
[*.json]
27-
indent_style = space
28-
29-
[*.w32]
30-
indent_style = space
26+
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)