-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
42 lines (29 loc) · 1.26 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
root = true
[*.cs]
# Organize usings
dotnet_sort_system_directives_first = true
dotnet_separate_import_directive_groups = false
# Simplify name (IDE0001)
dotnet_diagnostic.IDE0001.severity = warning
# 'var' preferences (IDE0007 and IDE0008)
dotnet_diagnostic.IDE0008.severity = warning
csharp_style_var_elsewhere = false:warning
csharp_style_var_for_built_in_types = true:warning
csharp_style_var_when_type_is_apparent = true:warning
# Add braces (IDE0011)
dotnet_diagnostic.IDE0011.severity = warning
# Add accessibility modifiers (IDE0040)
dotnet_diagnostic.IDE0040.severity = warning
# Formatting rule (IDE0055)
dotnet_diagnostic.IDE0055.severity = warning
# Use simple 'using' statement (IDE0063)
dotnet_diagnostic.IDE0063.severity = warning
# Simplify new expression (IDE0090)
dotnet_diagnostic.IDE0090.severity = warning
# Namespace declaration preferences (IDE0160 and IDE0161)
dotnet_diagnostic.IDE0161.severity = warning
csharp_style_namespace_declarations = file_scoped:warning
# Use LibraryImportAttribute instead of DllImportAttribute to generate p/invoke marshalling code at compile time. (SYSLIB1054)
dotnet_diagnostic.SYSLIB1054.severity = warning
# Missing XML comment for publicly visible type or member 'Type_or_Member'
dotnet_diagnostic.CS1591.severity = warning