forked from FakeItEasy/FakeItEasy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
88 lines (63 loc) · 3 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# 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
csharp_using_directive_placement = inside_namespace
dotnet_style_qualification_for_field = true
dotnet_style_qualification_for_property = true
dotnet_style_qualification_for_method = true
dotnet_style_qualification_for_event = true
# Naming rules
## Symbols
dotnet_naming_symbols.non_field_members.applicable_kinds = property, method, event
dotnet_naming_symbols.non_field_members.applicable_accessibilities = *
dotnet_naming_symbols.static_fields.applicable_kinds = field
dotnet_naming_symbols.static_fields.applicable_accessibilities = *
dotnet_naming_symbols.static_fields.required_modifiers = static
dotnet_naming_symbols.private_instance_field.applicable_kinds = field
dotnet_naming_symbols.private_instance_field.applicable_accessibilities = private
## Styles
dotnet_naming_style.camel_case.capitalization = camel_case
dotnet_naming_style.pascal_case.capitalization = pascal_case
## Rules
dotnet_naming_rule.non_field_members_pascal_case.symbols = non_field_members
dotnet_naming_rule.non_field_members_pascal_case.style = pascal_case
dotnet_naming_rule.non_field_members_pascal_case.severity = warning
dotnet_naming_rule.static_fields.symbols = non_field_members
dotnet_naming_rule.static_fields.style = pascal_case
dotnet_naming_rule.static_fields.severity = warning
dotnet_naming_rule.private_instance_field.symbols = non_field_members
dotnet_naming_rule.private_instance_field.style = camel_case
dotnet_naming_rule.private_instance_field.severity = warning