From d87d3e10b770fad47fbd1758408502e375ce2fc2 Mon Sep 17 00:00:00 2001 From: marlon-tucker Date: Fri, 7 Feb 2025 17:22:21 +0000 Subject: [PATCH] Update GlobalTool Template .editorconfig A recent change to VS2022 caused unused code sections to be faded. Due to the nature of how nuke-build works this means some targets in a build file are faded making them harder to see. This change adds some settings to the editorconfig to disable the feature. --- source/Nuke.GlobalTool/templates/.editorconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/Nuke.GlobalTool/templates/.editorconfig b/source/Nuke.GlobalTool/templates/.editorconfig index 194f37b0d..c813d8439 100644 --- a/source/Nuke.GlobalTool/templates/.editorconfig +++ b/source/Nuke.GlobalTool/templates/.editorconfig @@ -9,3 +9,8 @@ csharp_style_expression_bodied_methods = true:silent csharp_style_expression_bodied_properties = true:warning csharp_style_expression_bodied_indexers = true:warning csharp_style_expression_bodied_accessors = true:warning + +dotnet_diagnostic.IDE0055.severity = none +dotnet_diagnostic.IDE0052.severity = none +dotnet_diagnostic.IDE0051.severity = none +dotnet_diagnostic.IDE0044.severity = none