-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
28 lines (19 loc) · 852 Bytes
/
.editorconfig
File metadata and controls
28 lines (19 loc) · 852 Bytes
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
[*.{cs,vb}]
# IDE0130: Namespace does not match folder structure
dotnet_style_namespace_match_folder = false
# IDE0160: Convert to block scoped namespace
csharp_style_namespace_declarations = file_scoped
# IDE0058: Expression value is never used
dotnet_diagnostic.IDE0058.severity = none
# IDE0011: Add braces
csharp_prefer_braces = when_multiline
# IDE0040: Add accessibility modifiers
dotnet_style_require_accessibility_modifiers = omit_if_default
# IDE0046: Convert to conditional expression
dotnet_diagnostic.IDE0046.severity = suggestion
# IDE0022: Use block body for method
csharp_style_expression_bodied_methods = when_on_single_line
# IDE0023: Use block body for conversion operator
csharp_style_expression_bodied_operators = when_on_single_line
# CA2201: Do not raise reserved exception types
dotnet_diagnostic.CA2201.severity = none