# Minimal repo code-style anchor (R2-12 / 07/C-5). Documents the already-consistent # conventions; all C# analyzer rules are `suggestion` severity so nothing here can fail a # TreatWarningsAsErrors build. root = true [*] charset = utf-8 insert_final_newline = true indent_style = space [*.{cs,csproj,props,targets}] indent_size = 4 [*.cs] csharp_style_namespace_declarations = file_scoped:suggestion dotnet_naming_rule.private_fields_underscore.severity = suggestion dotnet_naming_rule.private_fields_underscore.symbols = private_fields dotnet_naming_rule.private_fields_underscore.style = underscore_camel dotnet_naming_symbols.private_fields.applicable_kinds = field dotnet_naming_symbols.private_fields.applicable_accessibilities = private dotnet_naming_style.underscore_camel.capitalization = camel_case dotnet_naming_style.underscore_camel.required_prefix = _ [*.{yml,yaml,json}] indent_size = 2