diff --git a/Workleap.DotNet.CodingStandards.nuspec b/Workleap.DotNet.CodingStandards.nuspec index 8529427..7aa000b 100644 --- a/Workleap.DotNet.CodingStandards.nuspec +++ b/Workleap.DotNet.CodingStandards.nuspec @@ -13,9 +13,9 @@ Copyright © Workleap - + - + diff --git a/global.json b/global.json index e236fa4..0dd55c3 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "10.0.103", + "version": "10.0.201", "rollForward": "latestMinor", "allowPrerelease": false } diff --git a/src/files/analyzers/Analyzer.Meziantou.Analyzer.editorconfig b/src/files/analyzers/Analyzer.Meziantou.Analyzer.editorconfig index 74e51f3..55a5417 100644 --- a/src/files/analyzers/Analyzer.Meziantou.Analyzer.editorconfig +++ b/src/files/analyzers/Analyzer.Meziantou.Analyzer.editorconfig @@ -932,3 +932,18 @@ dotnet_diagnostic.MA0186.severity = none # Enabled: False, Severity: suggestion dotnet_diagnostic.MA0187.severity = none +# MA0188: Use System.TimeProvider instead of a custom time abstraction +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0188.md +# Enabled: True, Severity: suggestion +dotnet_diagnostic.MA0188.severity = suggestion + +# MA0189: Use InlineArray instead of fixed-size buffers +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0189.md +# Enabled: True, Severity: suggestion +dotnet_diagnostic.MA0189.severity = suggestion + +# MA0190: Use partial property instead of partial method for GeneratedRegex +# Help link: https://github.com/meziantou/Meziantou.Analyzer/blob/main/docs/Rules/MA0190.md +# Enabled: True, Severity: suggestion +dotnet_diagnostic.MA0190.severity = suggestion + diff --git a/src/files/analyzers/Analyzer.Microsoft.CodeAnalysis.CSharp.CodeStyle.editorconfig b/src/files/analyzers/Analyzer.Microsoft.CodeAnalysis.CSharp.CodeStyle.editorconfig index 205ee88..9d7162a 100644 --- a/src/files/analyzers/Analyzer.Microsoft.CodeAnalysis.CSharp.CodeStyle.editorconfig +++ b/src/files/analyzers/Analyzer.Microsoft.CodeAnalysis.CSharp.CodeStyle.editorconfig @@ -540,6 +540,16 @@ dotnet_diagnostic.IDE0350.severity = silent # Enabled: True, Severity: silent dotnet_diagnostic.IDE0360.severity = silent +# IDE0370: Remove unnecessary suppression +# Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0370 +# Enabled: True, Severity: silent +dotnet_diagnostic.IDE0370.severity = suggestion + +# IDE0380: Remove unnecessary 'unsafe' modifier +# Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0380 +# Enabled: True, Severity: silent +dotnet_diagnostic.IDE0380.severity = suggestion + # IDE1005: Delegate invocation can be simplified. # Help link: https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide1005 # Enabled: True, Severity: silent diff --git a/tests/Workleap.DotNet.CodingStandards.Tests/Workleap.DotNet.CodingStandards.Tests.csproj b/tests/Workleap.DotNet.CodingStandards.Tests/Workleap.DotNet.CodingStandards.Tests.csproj index 67a789e..5377bac 100644 --- a/tests/Workleap.DotNet.CodingStandards.Tests/Workleap.DotNet.CodingStandards.Tests.csproj +++ b/tests/Workleap.DotNet.CodingStandards.Tests/Workleap.DotNet.CodingStandards.Tests.csproj @@ -7,7 +7,7 @@ - + diff --git a/tools/ConfigurationFilesGenerator/ConfigurationFilesGenerator.csproj b/tools/ConfigurationFilesGenerator/ConfigurationFilesGenerator.csproj index e1c49b2..0430922 100644 --- a/tools/ConfigurationFilesGenerator/ConfigurationFilesGenerator.csproj +++ b/tools/ConfigurationFilesGenerator/ConfigurationFilesGenerator.csproj @@ -8,12 +8,12 @@ - - - - - - + + + + + +