From 22844526243cf180b94bf0fc0b63b544e2d4d084 Mon Sep 17 00:00:00 2001 From: Todd Lang Date: Fri, 17 Jul 2026 09:11:43 -0400 Subject: [PATCH] Adding a csproj formatting rule --- .editorconfig | 7 +++++++ D2L.CodeStyle.sln | 1 + 2 files changed, 8 insertions(+) diff --git a/.editorconfig b/.editorconfig index 87474ca12..4d95501fc 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 eafd8ee76..98540bb31 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