File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ and adheres to a project-specific [Versioning](/README.md).
1818
1919### Added
2020
21- - S2139: Exceptions should be either logged or rethrown but not both
2221- S2629: Logging templates should be constant
2322- S3431: "[ ExpectedException] " should not be used
2423- S4347: Secure random number generators should not output predictable values
Original file line number Diff line number Diff line change @@ -282,6 +282,10 @@ dotnet_diagnostic.S6678.severity = suggestion
282282; This is handled by a custom model binder in our project templates that produces a bad request response in case of under-posting
283283dotnet_diagnostic.S6964.severity = none
284284
285+ # S2139: Exceptions should be either logged or rethrown but not both
286+ ; Although this rule makes sense, we do not want to enforce it
287+ dotnet_diagnostic.S2139.severity = suggestion
288+
285289# S107: Methods should not have too many parameters
286290dotnet_diagnostic.S107.severity = warning
287291
You can’t perform that action at this time.
0 commit comments