Skip to content

Commit fcffce7

Browse files
authored
Disable end of line trim in .editorconfig (shader-slang#2546)
* #include an absolute path didn't work - because paths were taken to always be relative. * Disable end of line whitespace.
1 parent e9b7c66 commit fcffce7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.editorconfig

+5-6
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ indent_size = 4
2929
#
3030
insert_final_newline = true
3131

32-
# Remove any extra whitespace characters at the
33-
# end of a line. This is just for tidyness, to
34-
# minimize the chances of introducing whitspace
35-
# diffs that are hard to spot.
36-
#
37-
trim_trailing_whitespace = true
32+
# Removing end of line whitespace is somewhat desirable, but
33+
# seems to add unwanted noise to PRs. This is especially when different
34+
# contributors source editors may or may not honor this setting.
35+
# So disable for now.
36+
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)