Skip to content

Commit

Permalink
Disable IDE0251 for false-positives (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceroypenguin authored May 17, 2023
1 parent b21b9b3 commit bcb4646
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ indent_size = 2
# Code files
[*.cs]
indent_size = 4
tab_width = 4
charset = utf-8-bom

## Dotnet code style settings:
Expand Down Expand Up @@ -229,6 +230,9 @@ dotnet_diagnostic.CA2000.severity = error # CA2000: Dispose object
dotnet_diagnostic.CA2007.severity = none # CA2007: Consider calling ConfigureAwait on the awaited task
dotnet_diagnostic.CA5394.severity = none # CA5394: Random is an insecure random number generator. Use cryptographically secure random number generators when randomness is required for security.

# False Positive
dotnet_diagnostic.IDE0251.severity = none # IDE0251: Make member readonly

# Public API Documentation
dotnet_diagnostic.RS0016.severity = error # RS0016: Add public types and members to the declared API
dotnet_diagnostic.RS0017.severity = error # RS0017: Remove deleted types and members from the declared API
Expand Down

0 comments on commit bcb4646

Please sign in to comment.