|
|
@@ -1,5 +1,84 @@ |
|
|
|
[*.cs] |
|
|
|
[*.cs] |
|
|
|
|
|
|
|
|
|
|
|
# CA1031: Do not catch general exception types |
|
|
|
dotnet_diagnostic.CA1031.severity = none |
|
|
|
|
|
|
|
# Microsoft .NET properties |
|
|
|
csharp_new_line_before_members_in_object_initializers = false |
|
|
|
csharp_preferred_modifier_order = public, private, protected, internal, new, abstract, virtual, sealed, override, static, readonly, extern, unsafe, volatile, async:suggestion |
|
|
|
csharp_style_var_elsewhere = true:suggestion |
|
|
|
csharp_style_var_for_built_in_types = true:suggestion |
|
|
|
csharp_style_var_when_type_is_apparent = true:suggestion |
|
|
|
dotnet_naming_rule.constants_rule.severity = warning |
|
|
|
dotnet_naming_rule.constants_rule.style = upper_camel_case_style |
|
|
|
dotnet_naming_rule.constants_rule.symbols = constants_symbols |
|
|
|
dotnet_naming_rule.public_fields_rule.severity = warning |
|
|
|
dotnet_naming_rule.public_fields_rule.style = lower_camel_case_style |
|
|
|
dotnet_naming_rule.public_fields_rule.symbols = public_fields_symbols |
|
|
|
dotnet_naming_rule.static_readonly_rule.severity = warning |
|
|
|
dotnet_naming_rule.static_readonly_rule.style = upper_camel_case_style |
|
|
|
dotnet_naming_rule.static_readonly_rule.symbols = static_readonly_symbols |
|
|
|
dotnet_naming_style.lower_camel_case_style.capitalization = camel_case |
|
|
|
dotnet_naming_style.lower_camel_case_style.required_prefix = _ |
|
|
|
dotnet_naming_style.upper_camel_case_style.capitalization = pascal_case |
|
|
|
dotnet_naming_symbols.constants_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected |
|
|
|
dotnet_naming_symbols.constants_symbols.applicable_kinds = field |
|
|
|
dotnet_naming_symbols.constants_symbols.required_modifiers = const |
|
|
|
dotnet_naming_symbols.public_fields_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected |
|
|
|
dotnet_naming_symbols.public_fields_symbols.applicable_kinds = field |
|
|
|
dotnet_naming_symbols.static_readonly_symbols.applicable_accessibilities = public,internal,protected,protected_internal,private_protected |
|
|
|
dotnet_naming_symbols.static_readonly_symbols.applicable_kinds = field |
|
|
|
dotnet_naming_symbols.static_readonly_symbols.required_modifiers = static,readonly |
|
|
|
dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none |
|
|
|
dotnet_style_parentheses_in_other_binary_operators = never_if_unnecessary:none |
|
|
|
dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none |
|
|
|
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion |
|
|
|
dotnet_style_predefined_type_for_member_access = true:suggestion |
|
|
|
dotnet_style_qualification_for_event = false:suggestion |
|
|
|
dotnet_style_qualification_for_field = false:suggestion |
|
|
|
dotnet_style_qualification_for_method = false:suggestion |
|
|
|
dotnet_style_qualification_for_property = false:suggestion |
|
|
|
|
|
|
|
# ReSharper properties |
|
|
|
resharper_autodetect_indent_settings = true |
|
|
|
resharper_default_private_modifier = implicit |
|
|
|
resharper_place_accessorholder_attribute_on_same_line = false |
|
|
|
resharper_use_indent_from_vs = false |
|
|
|
|
|
|
|
# ReSharper inspection severities |
|
|
|
resharper_arrange_redundant_parentheses_highlighting = hint |
|
|
|
resharper_arrange_this_qualifier_highlighting = hint |
|
|
|
resharper_built_in_type_reference_style_for_member_access_highlighting = hint |
|
|
|
resharper_built_in_type_reference_style_highlighting = hint |
|
|
|
resharper_redundant_base_qualifier_highlighting = warning |
|
|
|
resharper_suggest_var_or_type_built_in_types_highlighting = hint |
|
|
|
resharper_suggest_var_or_type_elsewhere_highlighting = hint |
|
|
|
resharper_suggest_var_or_type_simple_types_highlighting = hint |
|
|
|
resharper_web_config_module_not_resolved_highlighting = warning |
|
|
|
resharper_web_config_type_not_resolved_highlighting = warning |
|
|
|
resharper_web_config_wrong_module_highlighting = warning |
|
|
|
|
|
|
|
[*] |
|
|
|
charset = utf-8 |
|
|
|
end_of_line = crlf |
|
|
|
trim_trailing_whitespace = false |
|
|
|
insert_final_newline = false |
|
|
|
indent_style = space |
|
|
|
indent_size = 4 |
|
|
|
|
|
|
|
[{*.har,*.inputactions,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}] |
|
|
|
indent_style = space |
|
|
|
indent_size = 2 |
|
|
|
|
|
|
|
[{*.yaml,*.yml}] |
|
|
|
indent_style = space |
|
|
|
indent_size = 2 |
|
|
|
|
|
|
|
[{tsconfig.app.json,tsconfig.e2e.json,tsconfig.json,tsconfig.lib.json,tsconfig.spec.json}] |
|
|
|
indent_style = space |
|
|
|
indent_size = 2 |
|
|
|
|
|
|
|
[*.{appxmanifest,asax,ascx,aspx,axaml,build,cg,cginc,compute,cs,cshtml,dtd,hlsl,hlsli,hlslinc,master,nuspec,paml,razor,resw,resx,shader,skin,usf,ush,vb,xaml,xamlx,xoml,xsd}] |
|
|
|
indent_style = space |
|
|
|
indent_size = 4 |
|
|
|
tab_width = 4 |