-
Notifications
You must be signed in to change notification settings - Fork 39
/
.editorconfig
48 lines (33 loc) · 1.4 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
[*.cs]
#dotnet_analyzer_diagnostic.severity = error
# IDE0007 and IDE0008 'var' preferences
csharp_style_var_for_built_in_types = true
csharp_style_var_when_type_is_apparent = true
csharp_style_var_elsewhere = true
# IDE0011 Add braces
csharp_prefer_braces = false
# IDE0022 Use expression body for methods
csharp_style_expression_bodied_methods = when_on_single_line
# IDE0160: Convert to file-scoped namespace
csharp_style_namespace_declarations = file_scoped:error
# IDE0058: Expression value is never used
dotnet_diagnostic.CA1707.severity = silent
# CA1014: Mark assemblies with CLSCompliantAttribute
dotnet_diagnostic.CA1014.severity = none
# CA2007: Do not directly await a Task
dotnet_diagnostic.CA2007.severity = silent
# CA1720: Identifiers should not contain type names
dotnet_diagnostic.CA1720.severity = silent
# CA1724: Type names should not match namespaces
dotnet_diagnostic.CA1724.severity = silent
# CA1711: Identifiers should not have incorrect suffix
dotnet_diagnostic.CA1711.severity = silent
# CA1308: Normalize strings to uppercase
dotnet_diagnostic.CA1308.severity = silent
# CA2234: Pass System.Uri objects instead of strings
dotnet_diagnostic.CA2234.severity = silent
# CS1591: Ignored for now, until we decide to have comments on everything
dotnet_diagnostic.CS1591.severity = silent
[test/**.cs]
# IDE0058 Remove unnecessary expression value
dotnet_diagnostic.IDE0058.severity = silent