@@ -2,76 +2,35 @@ root = true
2
2
3
3
[* ]
4
4
charset = utf-8
5
+ end_of_line = lf
5
6
insert_final_newline = true
6
- trim_trailing_whitespace = true
7
- max_line_length = 120
8
-
9
- # Microsoft .NET properties
10
- csharp_new_line_before_members_in_object_initializers = false
11
- csharp_preferred_modifier_order = public, private, protected, internal, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:suggestion
12
- csharp_style_prefer_utf8_string_literals = true :suggestion
13
- csharp_style_var_elsewhere = true :warning
14
- csharp_style_var_for_built_in_types = true :warning
15
- csharp_style_var_when_type_is_apparent = true :warning
16
- dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True
17
- dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field
18
- dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5 f0fdb63-c892-4d2c-9324-15c80b22a7ef
19
- dotnet_naming_rule.unity_serialized_field_rule.severity = warning
20
- dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style
21
- dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols
22
- dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
23
- dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = *
24
- dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds =
25
- dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field
26
- dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance
27
- dotnet_style_parentheses_in_arithmetic_binary_operators = never_if_unnecessary:none
28
- dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:none
29
- dotnet_style_parentheses_in_relational_binary_operators = never_if_unnecessary:none
30
- dotnet_style_predefined_type_for_locals_parameters_members = true :suggestion
31
- dotnet_style_predefined_type_for_member_access = true :suggestion
32
- dotnet_style_qualification_for_event = false :warning
33
- dotnet_style_qualification_for_field = false :warning
34
- dotnet_style_qualification_for_method = false :warning
35
- dotnet_style_qualification_for_property = false :warning
36
- dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
37
-
38
- # ReSharper properties
39
- resharper_apply_auto_detected_rules = false
40
- resharper_autodetect_indent_settings = true
41
- resharper_csharp_empty_block_style = together_same_line
42
- resharper_csharp_stick_comment = false
43
- resharper_outdent_statement_labels = true
44
- resharper_show_autodetect_configure_formatting_tip = false
45
- resharper_use_indent_from_vs = false
46
- resharper_wrap_lines = true
47
-
48
- # ReSharper inspection severities
49
- resharper_arrange_redundant_parentheses_highlighting = hint
50
- resharper_arrange_type_member_modifiers_highlighting = hint
51
- resharper_arrange_type_modifiers_highlighting = hint
52
- resharper_built_in_type_reference_style_for_member_access_highlighting = hint
53
- resharper_built_in_type_reference_style_highlighting = hint
54
-
55
- [* .cs ]
56
- indent_size = 4
57
7
indent_style = space
58
- tab_width = 4
59
-
60
- # CS4014: Task not awaited
61
- dotnet_diagnostic.cs4014.severity = error
62
-
63
- # CS8509: Missing switch case for named enum value
64
- dotnet_diagnostic.CS8509.severity = error
65
-
66
- # CS824: Missing switch case for unnamed enum value
67
- dotnet_diagnostic.CS8524.severity = none
8
+ indent_size = 4
68
9
69
- # Enums should not have duplicate values
70
- dotnet_diagnostic.CA1069.severity = error
10
+ [{* .har,* .jsb2,* .jsb3,* .json,* .jsonc,* .postman_collection,* .postman_collection.json,* .postman_environment,* .postman_environment.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config} ]
11
+ indent_style = space
12
+ indent_size = 2
71
13
72
14
[{* .yaml,* .yml} ]
73
15
indent_style = space
74
16
indent_size = 2
75
17
76
- [* .csproj ]
18
+ [{* .bash,* .sh,* .zsh} ]
19
+ indent_style = space
20
+ indent_size = 2
21
+
22
+ [* .{appxmanifest,asax,ascx,aspx,axaml,build,c,c++,c++m,cc,ccm,cginc,compute,cp,cpp,cppm,cs,cshtml,cu,cuh,cxx,cxxm,dtd,fs,fsi,fsscript,fsx,fx,fxh,h,hh,hlsl,hlsli,hlslinc,hpp,hxx,inc,inl,ino,ipp,ixx,master,ml,mli,mpp,mq4,mq5,mqh,mxx,nuspec,paml,razor,resw,resx,shader,skin,tpp,usf,ush,uxml,vb,xaml,xamlx,xoml,xsd} ]
23
+ indent_style = space
77
24
indent_size = 4
25
+ tab_width = 4
26
+
27
+ # Verify settings
28
+ [* .{received,verified}.{txt,xml,json} ]
29
+ charset = " utf-8-bom"
30
+ end_of_line = lf
31
+ indent_size =
32
+ indent_style =
33
+ insert_final_newline = false
34
+ tab_width =
35
+ trim_trailing_whitespace = false
36
+
0 commit comments