-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.editorconfig
208 lines (171 loc) · 8.24 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
[*]
charset = utf-8-bom
end_of_line = crlf
trim_trailing_whitespace = true
insert_final_newline = false
indent_style = space
indent_size = 4
# 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
csharp_style_unused_value_assignment_preference = false
csharp_style_unused_value_expression_statement_preference = false
dotnet_diagnostic.SA1210.severity = None
dotnet_diagnostic.SA1300.severity = None
dotnet_diagnostic.SA1515.severity = None
dotnet_diagnostic.SA1108.severity = None
dotnet_diagnostic.SA1025.severity = None
dotnet_diagnostic.SA1127.severity = None
dotnet_diagnostic.SA1116.severity = None
dotnet_diagnostic.SA1206.severity = None
dotnet_diagnostic.CS8618.severity = none
dotnet_diagnostic.SA1306.severity = None
dotnet_diagnostic.CS0169.severity = None
# Using directive should appear within a namespace declaration
dotnet_diagnostic.SA1200.severity = None
# XML comment analysis is disabled due to project configuration
dotnet_diagnostic.SA0001.severity = None
# The file header is missing or not located at the top of the file
dotnet_diagnostic.SA1633.severity = None
# Use string.Empty for empty strings
dotnet_diagnostic.SA1122.severity = None
# Variable '_' should begin with lower-case letter
dotnet_diagnostic.SA1312.severity = None
# Parameter '_' should begin with lower-case letter
dotnet_diagnostic.SA1313.severity = None
# Elements should be documented
dotnet_diagnostic.SA1600.severity = None
# Prefix local calls with this
dotnet_diagnostic.SA1101.severity = None
# 'public' members should come before 'private' members
dotnet_diagnostic.SA1202.severity = None
# Comments should contain text
dotnet_diagnostic.SA1120.severity = None
# Constant fields should appear before non-constant fields
dotnet_diagnostic.SA1203.severity = None
# Field '_blah' should not begin with an underscore
dotnet_diagnostic.SA1309.severity = None
# Use trailing comma in multi-line initializers
dotnet_diagnostic.SA1413.severity = None
# A method should not follow a class
dotnet_diagnostic.SA1201.severity = None
# Elements should be separated by blank line
dotnet_diagnostic.SA1516.severity = None
# The parameter spans multiple lines
dotnet_diagnostic.SA1118.severity = None
# Static members should appear before non-static members
dotnet_diagnostic.SA1204.severity = None
# Put constructor initializers on their own line
dotnet_diagnostic.SA1128.severity = None
# Opening braces should not be preceded by blank line
dotnet_diagnostic.SA1509.severity = None
# The parameter should begin on the line after the previous parameter
dotnet_diagnostic.SA1115.severity = None
# File name should match first type name
dotnet_diagnostic.SA1649.severity = None
# File may only contain a single type
dotnet_diagnostic.SA1402.severity = None
# Enumeration items should be documented
dotnet_diagnostic.SA1602.severity = None
# Element should not be on a single line
dotnet_diagnostic.SA1502.severity = None
# Closing parenthesis should not be preceded by a space
dotnet_diagnostic.SA1009.severity = None
# Closing parenthesis should be on line of last parameter
dotnet_diagnostic.SA1111.severity = None
# Braces should not be ommitted
dotnet_diagnostic.SA1503.severity = warning
dotnet_diagnostic.sa1004.severity = none
dotnet_diagnostic.sa1005.severity = none
dotnet_diagnostic.sa1101.severity = none
dotnet_diagnostic.sa1201.severity = none
dotnet_diagnostic.sa1202.severity = none
dotnet_diagnostic.sa1307.severity = none
dotnet_diagnostic.sa1309.severity = none
dotnet_diagnostic.sa1310.severity = none
dotnet_diagnostic.sa1401.severity = none
dotnet_diagnostic.sa1404.severity = none
dotnet_diagnostic.sa1512.severity = none
dotnet_diagnostic.sa1600.severity = none
dotnet_diagnostic.sa1602.severity = none
dotnet_diagnostic.sa1633.severity = none
dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper = True
dotnet_naming_rule.unity_serialized_field_rule.resharper_description = Unity serialized field
dotnet_naming_rule.unity_serialized_field_rule.resharper_guid = 5f0fdb63-c892-4d2c-9324-15c80b22a7ef
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds = unity_serialised_field
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers = instance
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
dotnet_style_require_accessibility_modifiers = for_non_interface_members:suggestion
# ReSharper properties
resharper_align_linq_query = true
resharper_align_multiline_argument = true
resharper_align_multiline_parameter = true
resharper_autodetect_indent_settings = true
resharper_braces_for_for = required
resharper_braces_for_foreach = required
resharper_braces_for_ifelse = required
resharper_braces_for_while = required
resharper_csharp_align_first_arg_by_paren = true
resharper_csharp_keep_blank_lines_in_code = 1
resharper_csharp_keep_blank_lines_in_declarations = 1
resharper_csharp_max_line_length = 480
resharper_csharp_stick_comment = false
resharper_csharp_wrap_after_declaration_lpar = true
resharper_csharp_wrap_arguments_style = chop_if_long
resharper_indent_nested_fixed_stmt = true
resharper_indent_nested_foreach_stmt = true
resharper_indent_nested_for_stmt = true
resharper_indent_nested_lock_stmt = true
resharper_indent_nested_usings_stmt = true
resharper_indent_nested_while_stmt = true
resharper_int_align_switch_expressions = true
resharper_int_align_switch_sections = true
resharper_keep_existing_invocation_parens_arrangement = false
resharper_max_attribute_length_for_same_line = 1
resharper_new_line_before_while = true
resharper_place_attribute_on_same_line = false
resharper_prefer_separate_deconstructed_variables_declaration = true
resharper_space_within_single_line_array_initializer_braces = true
resharper_use_indent_from_vs = false
# ReSharper inspection severities
resharper_arrange_redundant_parentheses_highlighting = hint
resharper_arrange_this_qualifier_highlighting = hint
resharper_arrange_type_member_modifiers_highlighting = hint
resharper_arrange_type_modifiers_highlighting = hint
resharper_built_in_type_reference_style_for_member_access_highlighting = hint
resharper_built_in_type_reference_style_highlighting = hint
resharper_explicit_caller_info_argument_highlighting = none
resharper_localizable_element_highlighting = none
resharper_redundant_base_qualifier_highlighting = warning
resharper_redundant_name_qualifier_highlighting = none
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_unused_member_global_highlighting = none
resharper_web_config_module_not_resolved_highlighting = warning
resharper_web_config_type_not_resolved_highlighting = warning
resharper_web_config_wrong_module_highlighting = warning
[{*.har,*.inputactions,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}]
indent_style = space
indent_size = 2
[*.{appxmanifest,asax,ascx,aspx,axaml,build,cg,cginc,compute,cs,cshtml,dtd,fs,fsi,fsscript,fsx,hlsl,hlsli,hlslinc,master,ml,mli,nuspec,paml,razor,resw,resx,shader,skin,usf,ush,vb,xaml,xamlx,xoml,xsd}]
indent_style = space
indent_size = 4
tab_width = 4
csharp_prefer_braces=true:warning
csharp_space_after_keywords_in_control_flow_statements=true
# CS0649: Field 'LocalPlayerExtensions.Offsets.CurrentGC' is never assigned to, and will always have its default value
dotnet_diagnostic.CS0649.severity = silent
dotnet_diagnostic.CA1416.severity = none