-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.editorconfig
172 lines (116 loc) · 5.14 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
# MSBuild project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,msbuildproj,props,targets}]
indent_size = 2
indent_style = space
[*.json]
indent_size = 2
indent_style = space
[*.cs]
# CA1000: Do not declare static members on generic types
dotnet_diagnostic.CA1000.severity = none
# CA1710: Identifiers should not have incorrect suffix
dotnet_diagnostic.CA1710.severity = none
# CA1711: Identifiers should not have incorrect suffix
dotnet_diagnostic.CA1711.severity = none
# CA1720: Identifier contains type name
dotnet_diagnostic.CA1720.severity = none
# CA1716: Identifiers should not match keywords
dotnet_diagnostic.CA1716.severity = none
# SA1201: Elements should appear in the correct order
dotnet_diagnostic.SA1201.severity = none
# SA1311: Static readonly fields should begin with upper-case letter
dotnet_diagnostic.SA1311.severity = none
# SA1101: Prefix local calls with this
dotnet_diagnostic.SA1101.severity = none
# SA1623: Property summary documentation should match accessors
dotnet_diagnostic.SA1623.severity = none
# SA1309: Field names should not begin with underscore
dotnet_diagnostic.SA1309.severity = none
# SA1000: Keywords should be spaced correctly
dotnet_diagnostic.SA1000.severity = none
# SA1200: Using directives should be placed correctly
dotnet_diagnostic.SA1200.severity = none
# SA1308: Variable names should not be prefixed
dotnet_diagnostic.SA1308.severity = none
# SA1203: Constants should appear before fields
dotnet_diagnostic.SA1203.severity = none
# SA1405: Debug.Assert should provide message text
dotnet_diagnostic.SA1405.severity = none
# SA1009: Closing parenthesis should be spaced correctly
dotnet_diagnostic.SA1009.severity = none
# SA1512: Single-line comments should not be followed by blank line
dotnet_diagnostic.SA1512.severity = none
# SA1633: File should have header
dotnet_diagnostic.SA1633.severity = none
# SA1629: Documentation text should end with a period
dotnet_diagnostic.SA1629.severity = none
# SA1106: Code should not contain empty statements
dotnet_diagnostic.SA1106.severity = none
# SA1600: Elements should be documented
dotnet_diagnostic.SA1600.severity = none
# SA1011: Closing square brackets should be spaced correctly
dotnet_diagnostic.SA1011.severity = none
# SA1202: Elements should be ordered by access
dotnet_diagnostic.SA1202.severity = none
# SA1010: Opening square brackets should be spaced correctly
dotnet_diagnostic.SA1010.severity = none
# SA1012: Opening braces should be spaced correctly
dotnet_diagnostic.SA1012.severity = none
# SA1516: Elements should be separated by blank line
dotnet_diagnostic.SA1516.severity = none
# SA1204: Static elements should appear before instance elements
dotnet_diagnostic.SA1204.severity = none
# SA1206: Declaration keywords should follow order
dotnet_diagnostic.SA1206.severity = none
# SA1127: Generic type constraints should be on their own line
dotnet_diagnostic.SA1127.severity = none
# SA1500: Braces for multi-line statements should not share line
dotnet_diagnostic.SA1500.severity = none
# SA1502: Element must not be on a single line
dotnet_diagnostic.SA1502.severity = none
# SA1508: Closing braces should not be preceded by blank line
dotnet_diagnostic.SA1508.severity = none
# SA1008: Opening parenthesis should be spaced correctly
dotnet_diagnostic.SA1008.severity = none
# IDE0008: Use explicit type
dotnet_diagnostic.IDE0008.severity = none
# IDE0022: Use block body for method
dotnet_diagnostic.IDE0022.severity = none
# IDE0160: Convert to block scoped namespace
csharp_style_namespace_declarations = file_scoped
# IDE0130: Namespace does not match folder structure
dotnet_diagnostic.IDE0130.severity = none
# IDE0046: Convert to conditional expression
dotnet_diagnostic.IDE0046.severity = none
# IDE0055: Fix formatting
dotnet_diagnostic.IDE0055.severity = none
# IDE0061: Use block body for local function
dotnet_diagnostic.IDE0061.severity = none
# IDE0305: Simplify collection initialization
dotnet_diagnostic.IDE0305.severity = none
# IDE0042: Deconstruct variable declaration
dotnet_diagnostic.IDE0042.severity = none
# SA1313: Parameter names should begin with lower-case letter
dotnet_diagnostic.SA1313.severity = none
# IDE0290: Use primary constructor
dotnet_diagnostic.IDE0290.severity = none
# IDE0301: Simplify collection initialization
dotnet_diagnostic.IDE0301.severity = none
# IDE0024: Use block body for operator
dotnet_diagnostic.IDE0024.severity = none
# IDE0240: Remove redundant nullable directive
dotnet_diagnostic.IDE0240.severity = none
# IDE0028: Simplify collection initialization
dotnet_diagnostic.IDE0028.severity = none
# IDE0005: Remove unnecessary usings/imports
dotnet_diagnostic.IDE0005.severity = none
# xUnit2005: Do not use identity check on value type
dotnet_diagnostic.xUnit2005.severity = none
# SA1208: System using directives should be placed before other using directives
dotnet_diagnostic.SA1208.severity = none
# IDE0021: Use block body for constructor
dotnet_diagnostic.IDE0021.severity = none
# IDE0032: Use auto property
dotnet_diagnostic.IDE0032.severity = none
# CA1510: Use ArgumentNullException.ThrowIfNull
dotnet_diagnostic.CA1510.severity = none # incompatible with multitargeting projects.