-
-
Notifications
You must be signed in to change notification settings - Fork 433
/
.editorconfig
73 lines (62 loc) · 2.58 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
root = true
[*]
indent_style = space
insert_final_newline = true
indent_style = space
trim_trailing_whitespace = true
[*.cs]
charset = utf-8
indent_style = space
indent_size = 4
csharp_style_namespace_declarations = file_scoped:warning
#dotnet_style_require_accessibility_modifiers = never:suggestion
# ReSharper properties
resharper_default_private_modifier = implicit
# internal and private fields should be camelCase
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = warning
dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_style
dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal
dotnet_naming_style.camel_case_style.required_prefix =
dotnet_naming_style.camel_case_style.capitalization = camel_case
# Nullable Reference Type
# CS8618: Non-nullable field is uninitialized. Consider declaring as nullable.
dotnet_diagnostic.cs8618.severity = error
# CS8604: Possible null reference argument.
dotnet_diagnostic.cs8604.severity = error
# CS8629: Nullable value type may be null.
dotnet_diagnostic.cs8629.severity = error
# CS8600: Converting null literal or possible null value to non-nullable type.
dotnet_diagnostic.cs8600.severity = error
# CS8603: Possible null reference return.
dotnet_diagnostic.cs8603.severity = error
# CS8610: Nullability of reference types in type of parameter doesn't match overridden member.
dotnet_diagnostic.cs8610.severity = error
# CS8625: Cannot convert null literal to non-nullable reference type.
dotnet_diagnostic.cs8625.severity = error
# CS8606: Possible null reference assignment to iteration variable
dotnet_diagnostic.cs8606.severity = error
# CS8602: Dereference of a possibly null reference.
dotnet_diagnostic.cs8602.severity = error
# CS8601: Possible null reference assignment.
dotnet_diagnostic.cs8601.severity = error
# CS8614: Nullability of reference types in type of parameter doesn't match implicitly implemented member.
dotnet_diagnostic.cs8614.severity = error
[{src/MagicOnion.Client/**.cs,src/MagicOnion.Shared/**.cs,src/MagicOnion.Abstractions/**.cs}]
# Lower language support for code shared with code for Unity
csharp_style_namespace_declarations = block_scoped
[*.{csproj,props,targets}]
charset = utf-8
indent_style = space
indent_size = 2
[Dockerfile]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
[*.{sh,yaml,yml,rules}]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf