Modify .editorconfig: Add `trim_trailing_whitespace` and set `end_of_line` to "lf"
MODIFY
.editorconfig
.editorconfig
@@ -22,6 +22,12 @@ csharp_new_line_before_open_brace = all
# do not place System.* using directives before other using directives
dotnet_sort_system_directives_first = true:error
+# Formatting - remove any whitespace characters preceding newline characters
+trim_trailing_whitespace = true
+
+# Formatting - set preferred newline characters
+end_of_line = lf
+
# Formatting - spacing options
# require NO space between a cast and the value

Modify .editorconfig: Add `trim_trailing_whitespace` and set `end_of_line` to "lf"