-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
47 lines (36 loc) · 1.51 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
# EditorConfig is awesome: https://editorconfig.org
# Top-most EditorConfig file
root = true
[*]
# Windows-style newlines
end_of_line = crlf
# 4-column space indentation
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
max_line_length = 160
insert_final_newline = true
[*.{csproj,vbproj}]
insert_final_newline = false
charset = utf-8-bom
[project.json]
insert_final_newline = false
charset = utf-8-bom
[*.nuget.targets]
insert_final_newline = false
charset = utf-8-bom
[*.json]
# 2-column space indentation
indent_size = 2
[*.cs]
dotnet_diagnostic.CA1305.severity = none # The behavior of parsing or formatting method could vary based on the current user's locale settings
dotnet_diagnostic.CA2237.severity = none # Mark ISerializable types with SerializableAttribute
dotnet_diagnostic.SA1124.severity = warning # Do not use regions
dotnet_diagnostic.SA1127.severity = none # Generic type constraints should be on their own line
dotnet_diagnostic.SA1413.severity = none # Use trailing comma in multi-line initializers
dotnet_diagnostic.SA1600.severity = none # Elements should be documented
dotnet_diagnostic.SA1601.severity = none # Partial elements should be documented
dotnet_diagnostic.SA1628.severity = warning # Documentation text must begin with a capital letter
dotnet_diagnostic.SA1629.severity = warning # Documentation text must end with a period
dotnet_diagnostic.SA1633.severity = none # Files should have file headers