-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
39 lines (33 loc) · 1.08 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
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
end_of_line = lf
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
[*.cs]
indent_style = tab
indent_size = 4
# Config for md, json and csproj files
[*.{md,json,csproj}]
indent_style = space
indent_size = 2
[*.{md,txt}]
trim_trailing_whitespace = false
# Config for dotnet analyzer rules
[*.{cs,vb}]
dotnet_diagnostic.SYSLIB1045.severity = none
dotnet_diagnostic.CA1845.severity = suggestion
dotnet_diagnostic.CA2201.severity = suggestion
dotnet_diagnostic.CA2231.severity = suggestion
dotnet_diagnostic.IDE0001.severity = suggestion
dotnet_diagnostic.IDE0008.severity = suggestion
dotnet_diagnostic.IDE0018.severity = suggestion
dotnet_diagnostic.IDE0026.severity = suggestion
dotnet_diagnostic.IDE0048.severity = suggestion
dotnet_diagnostic.IDE0055.severity = suggestion
dotnet_diagnostic.IDE0078.severity = suggestion
dotnet_diagnostic.IDE0090.severity = suggestion
dotnet_diagnostic.IDE0130.severity = suggestion
csharp_style_var_for_built_in_types = false:suggestion