root = true [*] charset = utf-8 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true indent_style = space indent_size = 4 [*.{json,yml,yaml,props,targets,csproj,slnx,xml,webmanifest}] indent_size = 2 [*.md] trim_trailing_whitespace = false [*.cs] # Sprache csharp_style_namespace_declarations = file_scoped:warning csharp_style_var_for_built_in_types = true:suggestion csharp_style_var_when_type_is_apparent = true:suggestion csharp_style_var_elsewhere = true:suggestion csharp_style_expression_bodied_methods = when_on_single_line:suggestion csharp_style_expression_bodied_properties = true:suggestion csharp_prefer_primary_constructors = true:suggestion csharp_using_directive_placement = outside_namespace:suggestion dotnet_sort_system_directives_first = true csharp_new_line_before_open_brace = all # Benennung dotnet_naming_rule.private_fields_underscore.symbols = private_fields dotnet_naming_rule.private_fields_underscore.style = underscore_camel dotnet_naming_rule.private_fields_underscore.severity = suggestion 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 = _ # Generierter Code [**/Migrations/*.cs] generated_code = true