Skip to content

Commit e5bdd64

Browse files
Standardize editorconfig line endings to LF and enable final newlines
Co-authored-by: erik <erik@zettersten.com>
1 parent 46cbdde commit e5bdd64

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ indent_size = 4
88
charset = utf-8
99
trim_trailing_whitespace = true
1010
insert_final_newline = true
11-
end_of_line = crlf
11+
end_of_line = lf
1212

1313
# C# files
1414
[*.cs]

BlazorCanvas2d/.editorconfig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Remove the line below if you want to inherit .editorconfig settings from higher directories
2-
root = true
1+
# Inherit settings from the repository root .editorconfig
2+
root = false
33

44
# C# files
55
[*.cs]
@@ -11,9 +11,9 @@ indent_size = 4
1111
indent_style = space
1212
tab_width = 4
1313

14-
# New line preferences
15-
end_of_line = crlf
16-
insert_final_newline = false
14+
# New line preferences (match repo-wide conventions)
15+
end_of_line = lf
16+
insert_final_newline = true
1717

1818
#### .NET Code Actions ####
1919

@@ -251,7 +251,7 @@ dotnet_diagnostic.IDE0160.severity = none
251251
dotnet_style_operator_placement_when_wrapping = beginning_of_line
252252
tab_width = 4
253253
indent_size = 4
254-
end_of_line = crlf
254+
end_of_line = lf
255255
dotnet_style_coalesce_expression = true:suggestion
256256
dotnet_style_null_propagation = true:suggestion
257257
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion

0 commit comments

Comments
 (0)