-
Notifications
You must be signed in to change notification settings - Fork 3
/
.editorconfig
116 lines (86 loc) · 3.19 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
# https://editorconfig.org/
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
tab_width = 8
trim_trailing_whitespace = true
max_line_length = 80
indent_style = space
continuation_indent_size = 4
indent_size = 4
[*.{json,ps1,sh,yaml,yml}]
indent_size = 2
continuation_indent_size = 2
[*.{csproj,xml,props,targets}]
indent_size = 2
quote_type = double
[*.cs]
max_line_length = 100
curly_bracket_next_line = true
spaces_around_operators = true
indent_brace_style = Allman
dotnet_naming_rule.public_members_must_be_capitalized.symbols = public_symbols
dotnet_naming_symbols.public_symbols.applicable_kinds = property,method,field,event,delegate
dotnet_naming_symbols.public_symbols.applicable_accessibilities = public
dotnet_naming_rule.public_members_must_be_capitalized.style = first_word_upper_case_style
dotnet_naming_style.first_word_upper_case_style.capitalization = first_word_upper
dotnet_naming_rule.public_members_must_be_capitalized.severity = warning
# SA0001: XML comment analysis is disabled due to project configuration
dotnet_diagnostic.SA0001.severity = none
# SA1101: Prefix local calls with this
dotnet_diagnostic.SA1101.severity = none
# SA1309: Field names should not begin with underscore
dotnet_diagnostic.SA1309.severity = none
# SA1600: Elements should be documented
dotnet_diagnostic.SA1600.severity = none
# SA1601: Partial elements should be documented
dotnet_diagnostic.SA1601.severity = none
# SA1602: Enumeration items should be documented
dotnet_diagnostic.SA1602.severity = none
# SA1633: File should have header
dotnet_diagnostic.SA1633.severity = none
# S1133: Deprecated code should be removed
dotnet_diagnostic.S1133.severity = none
# S1125: Boolean literals should not be redundant
dotnet_diagnostic.S1125.severity = none
# S2372: Exceptions should not be thrown from property getters
dotnet_diagnostic.S2372.severity = none
# S3881: "IDisposable" should be implemented correctly
dotnet_diagnostic.S3881.severity = none
# S3971: "GC.SuppressFinalize" should not be called
dotnet_diagnostic.S3971.severity = none
# S4143: Collection elements should not be replaced unconditionally
dotnet_diagnostic.S4143.severity = none
# S6605: Collection-specific "Exists" method should be used instead of the "Any" extension
dotnet_diagnostic.S6605.severity = none
# S6608: Prefer indexing instead of "Enumerable" methods on types implementing "IList"
dotnet_diagnostic.S6608.severity = none
# MEN007: Use a single return
dotnet_diagnostic.MEN007.severity = none
# MEN016: Avoid top-level statements
dotnet_diagnostic.MEN016.severity = none
# S3963: "static" fields should be initialized inline
dotnet_diagnostic.S3963.severity = silent
[**/obj/**/*.cs]
# SA1200: Using directives should be placed correctly
dotnet_diagnostic.SA1200.severity = none
# CS8981: The type name only contains lower-cased ascii characters
dotnet_diagnostic.CS8981.severity = none
[**/obj/**/TypesGrpc.cs]
# SA1518: Use line endings correctly at end of file
dotnet_diagnostic.SA1518.severity = none
[*.csproj]
quote_type = double
[*.sln]
indent_style = tab
indent_size = 2
[hooks/*]
indent_size = 2
continuation_indent_size = 2
[stylecop.json]
max_line_length =
[*.proto]
indent_size = 2
continuation_indent_size = 2