chore(.editorconfig): update .NET Diagnostic
This commit is contained in:
+3
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user