-
Notifications
You must be signed in to change notification settings - Fork 8
/
.editorconfig
46 lines (35 loc) · 1.09 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
root = true
# All files
[*]
indent_style = space
spelling_exclusion_path = .vscode/spellright.dict
end_of_line = LF
# Xml files
[*.xml]
indent_size = 2
# Xml project files
[*.{csproj,props}]
indent_size = 2
# C# files
[*.cs]
csharp_style_namespace_declarations = file_scoped
csharp_style_expression_bodied_methods = true:silent
csharp_style_namespace_declarations = file_scoped
csharp_style_expression_bodied_operators = true
csharp_style_expression_bodied_local_functions = true
csharp_style_var_for_built_in_types = true:error
csharp_style_var_when_type_is_apparent = true:error
csharp_style_var_elsewhere = true:error
dotnet_diagnostic.IDE0005.severity = warning
#### Core EditorConfig Options ####
# Indentation and spacing
indent_size = 4
tab_width = 4
[src/**/Extensions/**.cs]
dotnet_analyzer_diagnostic.category-StyleCop.CSharp.NamingRules.severity = none
[tests/**.cs]
# CS1591: Missing XML comment for publicly visible type or member
dotnet_diagnostic.CS1591.severity = none
dotnet_diagnostic.CA1819.severity = none
[{src/**/Internal/**.cs,tests/**.cs}]
dotnet_diagnostic.CA1062.severity = none