diff --git a/.editorconfig b/.editorconfig index 39f9cd5..4a15f82 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,10 +4,13 @@ root = true charset = utf-8 indent_size = 4 indent_style = space -insert_final_newline = true trim_trailing_whitespace = true +insert_final_newline = true -[*.{yml,props,targets,csproj}] +[*.{yml,yaml}] +indent_size = 2 + +[*.{slnx,csproj,proj,props,targets}] indent_size = 2 [*.cs] @@ -44,18 +47,6 @@ dotnet_diagnostic.CA1311.severity = none dotnet_diagnostic.CA1866.severity = none [benchmarks/**.cs] -# CA1707: Identifiers should not contain underscores -# Underscores keep the generated BenchmarkDotNet report readable. -dotnet_diagnostic.CA1707.severity = none - -# CA1822: Mark members as static -# BenchmarkDotNet discovers instance methods and properties. -dotnet_diagnostic.CA1822.severity = none - -# CA2201: Do not raise reserved exception types -# Benchmark setup throws Exception to abort a run on an unexpected parser result. -dotnet_diagnostic.CA2201.severity = none - # CA1806: Do not ignore method results # Benchmarks intentionally ignore TryParse results. dotnet_diagnostic.CA1806.severity = none