This repository has been archived by the owner on Oct 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.editorconfig
171 lines (131 loc) · 6.59 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
[*]
charset = utf-8-bom
end_of_line = crlf
trim_trailing_whitespace = true
insert_final_newline = true
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, file, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async, required:suggestion
csharp_style_prefer_utf8_string_literals = true: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.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_rule.unity_serialized_field_rule.severity = warning
dotnet_naming_rule.unity_serialized_field_rule.style = lower_camel_case_style
dotnet_naming_rule.unity_serialized_field_rule.symbols = unity_serialized_field_symbols
dotnet_naming_style.lower_camel_case_style.capitalization = camel_case
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities = *
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds =
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 = always_for_clarity: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_autodetect_indent_settings = true
resharper_formatter_off_tag = @formatter:off
resharper_formatter_on_tag = @formatter:on
resharper_formatter_tags_enabled = 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_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
resharper_xunit_xunit_test_with_console_output_highlighting = hint
[{*.har,*.jsb2,*.jsb3,*.json,*.jsonc,*.postman_collection,*.postman_collection.json,*.postman_environment,*.postman_environment.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config}]
indent_style = space
indent_size = 2
[{*.yaml,*.yml}]
indent_style = space
indent_size = 2
[{*.bash,*.sh,*.zsh}]
indent_style = space
indent_size = 2
[*.sass]
indent_style = space
indent_size = 2
[*.scss]
indent_style = space
indent_size = 2
[*.js.map]
indent_style = space
indent_size = 2
[*.{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}]
indent_style = space
indent_size = 4
tab_width = 4
[dockermod_root/*]
# dockermod requires no BOM
charset = utf-8
[*.cs]
csharp_style_var_for_built_in_types = true:silent
csharp_style_var_when_type_is_apparent = true:silent
csharp_style_var_elsewhere = true:silent
## SonarAnalyzers.CSharp
# Unreachable code detected
dotnet_diagnostic.cs0162.severity = error
# Remove this commented out code.
dotnet_diagnostic.s125.severity = warning
# Complete the task associated to this 'TODO' comment.
dotnet_diagnostic.s1135.severity = warning
# Remove the unused local variable 'foo'.
dotnet_diagnostic.S1481.severity = error
# Remove this empty class, write its code or make it an "interface".
dotnet_diagnostic.s2094.severity = error
# Either log this exception and handle it, or rethrow it with some contextual information.
dotnet_diagnostic.s2139.severity = error
# Either implement 'IDisposable.Dispose', or totally rename this method to prevent confusion.
dotnet_diagnostic.s2953.severity = error
# Fix this implementation of 'IDisposable' to conform to the dispose pattern.
dotnet_diagnostic.s3881.severity = warning
# Logging in a catch clause should pass the caught exception as a parameter.
dotnet_diagnostic.s6667.severity = error
# Logging arguments should be passed to the correct parameter.
dotnet_diagnostic.s6668.severity = error
# Update this logger to use its enclosing type.
dotnet_diagnostic.s6672.severity = error
# REST API controller actions should be annotated with the appropriate HTTP verb attribute.
dotnet_diagnostic.s6965.severity = error
## StyleCop.Analyzers
# XML comment analysis is disabled due to project configuration
dotnet_diagnostic.sa0001.severity = None
# Prefix local calls with this
dotnet_diagnostic.sa1101.severity = None
# Opening brace should be followed by a space
dotnet_diagnostic.sa1012.severity = error
# Closing brace should be preceded by a space
dotnet_diagnostic.sa1013.severity = error
# Code should not contain trailing whitespace
dotnet_diagnostic.SA1028.severity = error
# Using directive should appear within a namespace declaration
dotnet_diagnostic.sa1200.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 = error
# Single-line comments should not be followed by blank line
dotnet_diagnostic.sa1512.severity = error
# The file header is missing or not located at the top of the file
dotnet_diagnostic.sa1633.severity = None