Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable IDE0251 for false-positives #425

Merged
merged 1 commit into from
May 17, 2023
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
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