Skip to content

Commit eec4d92

Browse files
committed
.editorconfig: Trim trailing whitespace, configure scripts
1 parent 9188b97 commit eec4d92

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ root = true
77
# Don't use tabs for indentation.
88
[*]
99
indent_style = space
10+
trim_trailing_whitespace = true
11+
trim_trailing_white_space_on_save = true
1012
# (Please don't specify an indent_size here; that has too many unintended consequences.)
1113

1214
# Code files
@@ -15,6 +17,17 @@ indent_size = 4
1517
insert_final_newline = true
1618
charset = utf-8-bom
1719

20+
[*.{cmd,bat}]
21+
indent_size = 2
22+
end_of_line = crlf
23+
insert_final_newline = false
24+
25+
[*.{ps1,psm1}]
26+
indent_size = 2
27+
end_of_line = crlf
28+
insert_final_newline = true
29+
charset = utf-8-bom
30+
1831
# Xml project files
1932
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
2033
indent_size = 2

0 commit comments

Comments
 (0)