Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 5 additions & 14 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Loading