diff --git a/.editorconfig b/.editorconfig index 87474ca1..4d95501f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,12 @@ root = true +[*.csproj] +indent_style = space +tab_width = 2 +indent_size = 2 +trim_trailing_whitespace = true +insert_final_newline = true + [*.cs] indent_style = tab tab_width = 4 diff --git a/D2L.CodeStyle.sln b/D2L.CodeStyle.sln index eafd8ee7..98540bb3 100644 --- a/D2L.CodeStyle.sln +++ b/D2L.CodeStyle.sln @@ -19,6 +19,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "D2L.CodeStyle.SpecTests", " EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6542443F-23C1-4E69-B475-DA81279521EB}" ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig Directory.build.props = Directory.build.props EndProjectSection EndProject