From 0542726907b1248e0e9a3448dad4021c171667d4 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Fri, 22 Jul 2022 02:19:52 +0200 Subject: [PATCH] Ban single-line if statements. (#9953) * Ban single-line if statements. * Make these files more accessible from sln --- .editorconfig | 2 ++ SpaceStation14.sln | 8 ++++++++ SpaceStation14.sln.DotSettings | 11 +++++++++++ 3 files changed, 21 insertions(+) diff --git a/.editorconfig b/.editorconfig index 186026ff1f..3e71517eba 100644 --- a/.editorconfig +++ b/.editorconfig @@ -115,6 +115,8 @@ csharp_new_line_before_finally = true csharp_new_line_before_members_in_object_initializers = false csharp_new_line_before_open_brace = all csharp_new_line_between_query_expression_clauses = true +resharper_csharp_place_simple_embedded_statement_on_same_line = never +resharper_csharp_keep_existing_embedded_arrangement = false # Indentation preferences #csharp_indent_block_contents = true diff --git a/SpaceStation14.sln b/SpaceStation14.sln index 7d3bfa46fd..9bd6959e7c 100644 --- a/SpaceStation14.sln +++ b/SpaceStation14.sln @@ -100,6 +100,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Content.Shared.Database", " EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Content.MapRenderer", "Content.MapRenderer\Content.MapRenderer.csproj", "{199BBEA1-7627-434B-B6F6-0F52A7C0E1E0}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Project Files", "Project Files", "{EC27A16C-9412-4AA6-AE68-CAAB28882802}" + ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig + .gitattributes = .gitattributes + .gitignore = .gitignore + README.md = README.md + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/SpaceStation14.sln.DotSettings b/SpaceStation14.sln.DotSettings index 45867d6f23..b38b3a9753 100644 --- a/SpaceStation14.sln.DotSettings +++ b/SpaceStation14.sln.DotSettings @@ -1,6 +1,13 @@  False False + WARNING + WARNING + WARNING + WARNING + WARNING + WARNING + WARNING ERROR ERROR ERROR @@ -23,6 +30,10 @@ WARNING WARNING WARNING + WARNING + WARNING + WARNING + WARNING Required Required Required