Removed obsolete file OpenRA.sln.DotSettings

- The DEFAULT_PRIVATE_MODIFIER behaviour is now handled by the .editorconfig file via `dotnet_style_require_accessibility_modifiers = omit_if_default:warning`.
 Also added `dotnet_diagnostic.IDE0040.severity = warning` there to raise compile-time errors in the CI.
 - The field naming conventions seem to already be covered by (some) analyzer rules (checked in both VS and VSCode) - IDE1006/SA1306 and SA1307.
This commit is contained in:
penev92
2021-11-14 02:15:42 +02:00
committed by Matthias Mailänder
parent 2f6f214bac
commit b67954451a
2 changed files with 5 additions and 4 deletions

View File

@@ -106,6 +106,11 @@ dotnet_style_predefined_type_for_member_access = true:suggestion
#prefer the language keyword for local variables, method parameters, and class members, instead of the type name, for types that have a keyword to represent them
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
#show an IDE warning when default access modifiers are explicitly specified
dotnet_style_require_accessibility_modifiers = omit_if_default:warning
#raise a warning on build when default access modifiers are explicitly specified
dotnet_diagnostic.IDE0040.severity = warning
#don't prefer braces (for one liners)
dotnet_diagnostic.IDE0011.severity = none