From a329d44e413539007ff7acf76836898771a59f06 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Wed, 3 Jul 2024 23:11:48 +1000 Subject: [PATCH] Enable MA0090 outside of Cores project "Remove empty else/finally block" --- .global.editorconfig.ini | 2 +- src/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.global.editorconfig.ini b/.global.editorconfig.ini index d5e10f1648..54934da028 100644 --- a/.global.editorconfig.ini +++ b/.global.editorconfig.ini @@ -279,7 +279,7 @@ dotnet_diagnostic.MA0088.severity = error # Optimize string method usage dotnet_diagnostic.MA0089.severity = error # Remove empty else/finally block -dotnet_diagnostic.MA0090.severity = silent +dotnet_diagnostic.MA0090.severity = warning # Sender should be 'this' for instance events dotnet_diagnostic.MA0091.severity = error # Sender should be 'null' for static events diff --git a/src/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj b/src/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj index 95056f75d1..21e5fe692e 100644 --- a/src/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj +++ b/src/BizHawk.Emulation.Cores/BizHawk.Emulation.Cores.csproj @@ -5,7 +5,7 @@ true - $(NoWarn);CA1806;CA1825;CA2214;MA0084;MA0140;SA1100;SA1120;SA1129;SA1137;SA1205;SA1208;SA1400 + $(NoWarn);CA1806;CA1825;CA2214;MA0084;MA0090;MA0140;SA1100;SA1120;SA1129;SA1137;SA1205;SA1208;SA1400 disable