diff options
author | Brennan Conroy <brecon@microsoft.com> | 2022-09-30 01:01:12 +0300 |
---|---|---|
committer | Brennan <brecon@microsoft.com> | 2022-10-13 04:21:04 +0300 |
commit | 17d0cad7fd40ba217c00939c7f8ab6496f839675 (patch) | |
tree | 76604921765624d0342c50327ce3bfed437d949f /.editorconfig | |
parent | 0acb0e4c76a6db50baba3546343b0d27848b81f7 (diff) |
IDE 29, 30, 31 null!
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig index 91fcda8b97..71d44b9daf 100644 --- a/.editorconfig +++ b/.editorconfig @@ -232,6 +232,15 @@ dotnet_diagnostic.IDE0011.severity = warning # IDE0020: Use pattern matching to avoid is check followed by a cast (with variable) dotnet_diagnostic.IDE0020.severity = warning +# IDE0029: Use coalesce expression (non-nullable types) +dotnet_diagnostic.IDE0029.severity = warning + +# IDE0030: Use coalesce expression (nullable types) +dotnet_diagnostic.IDE0030.severity = warning + +# IDE0031: Use null propagation +dotnet_diagnostic.IDE0031.severity = warning + # IDE0035: Remove unreachable code dotnet_diagnostic.IDE0035.severity = warning @@ -331,6 +340,12 @@ dotnet_diagnostic.CA2249.severity = suggestion dotnet_diagnostic.IDE0005.severity = suggestion # IDE0020: Use pattern matching to avoid is check followed by a cast (with variable) dotnet_diagnostic.IDE0020.severity = suggestion +# IDE0029: Use coalesce expression (non-nullable types) +dotnet_diagnostic.IDE0029.severity = suggestion +# IDE0030: Use coalesce expression (nullable types) +dotnet_diagnostic.IDE0030.severity = suggestion +# IDE0031: Use null propagation +dotnet_diagnostic.IDE0031.severity = suggestion # IDE0038: Use pattern matching to avoid is check followed by a cast (without variable) dotnet_diagnostic.IDE0038.severity = suggestion # IDE0044: Make field readonly |