chore(.editorconfig): update .NET Diagnostic

This commit is contained in:
Jean Gatto
2023-09-10 09:06:13 -03:00
parent c814c5a140
commit 8b88e62339
+3 -5
View File
@@ -27,8 +27,10 @@ charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
###############################
# .NET Diagnostic
# https://learn.microsoft.com/en-us/visualstudio/ide/code-styles-and-code-cleanup?view=vs-2022#code-cleanup-settings
# https://learn.microsoft.com/en-us/visualstudio/ide/code-styles-and-code-cleanup
###############################
# Simplify name
# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0001
@@ -120,10 +122,6 @@ dotnet_diagnostic.IDE0044.severity = warning
# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0045
dotnet_diagnostic.IDE0045.severity = warning
# Use conditional expression for return
# https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0046
dotnet_diagnostic.IDE0046.severity = suggestion
# Parentheses can be removed
# https://learn.microsoft.com/pt-pt/dotnet/fundamentals/code-analysis/style-rules/ide0047-ide0048
dotnet_diagnostic.IDE0047.severity = warning