Changed one-liner braces rule to silent
Having this set to "none" disabled the IDE's option to add braces, whereas "silent" lets it do it on the user's request while still not suggesting it on its own.
This commit is contained in:
@@ -114,7 +114,7 @@ dotnet_style_require_accessibility_modifiers = omit_if_default:warning
|
||||
dotnet_diagnostic.IDE0040.severity = warning
|
||||
|
||||
# Don't prefer braces (for one liners).
|
||||
dotnet_diagnostic.IDE0011.severity = none
|
||||
dotnet_diagnostic.IDE0011.severity = silent
|
||||
|
||||
# Modifiers are not ordered.
|
||||
dotnet_diagnostic.IDE0036.severity = warning
|
||||
|
||||
Reference in New Issue
Block a user