diff --git a/.editorconfig b/.editorconfig index 67dc70dff..9c2beed95 100644 --- a/.editorconfig +++ b/.editorconfig @@ -79,6 +79,9 @@ dotnet_diagnostic.CS0618.severity = suggestion # Obsolete warnings, this should be removed or changed to warning once we address some of the obsolete items. dotnet_diagnostic.CS0612.severity = suggestion +# Remove unnecessary using directives https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0005 +dotnet_diagnostic.IDE0005.severity = warning + # CSharp code style settings: [*.cs] # Prefer "var" everywhere diff --git a/Directory.Build.props b/Directory.Build.props index 2e4c0d642..e37e45855 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,12 +1,13 @@ - - net6.0 + + net6.0 - 2022.6.0 - Bit.$(MSBuildProjectName) + 2022.6.0 + Bit.$(MSBuildProjectName) true - + enable +