This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 169
/
.editorconfig
52 lines (42 loc) · 2.37 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
root = true
[*]
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.cs]
indent_size = 4
dotnet_style_qualification_for_event = true:suggestion
dotnet_style_qualification_for_field = true:suggestion
dotnet_style_qualification_for_method = true:suggestion
dotnet_style_qualification_for_property = true:suggestion
dotnet_diagnostic.IDE0001.severity = warning # Name can be simplified
dotnet_diagnostic.IDE0002.severity = warning # Name can be simplified
# StyleCop: Readability Rules
dotnet_diagnostic.SA1118.severity = none # Parameter should not span multiple lines
dotnet_diagnostic.SA1122.severity = none # Use string.Empty for empty strings
dotnet_diagnostic.SA1135.severity = none # Using directives should be qualified
# StyleCop: Ordering Rules
dotnet_diagnostic.SA1201.severity = none # Elements should appear in the correct order
dotnet_diagnostic.SA1202.severity = none # Elements should be ordered by access
dotnet_diagnostic.SA1203.severity = none # Constants should appear before fields
dotnet_diagnostic.SA1204.severity = none # Static members should appear before non-static members
dotnet_diagnostic.SA1214.severity = none # Readonly fields should appear before non-readonly fields
# StyleCop: Maintainability Rules
dotnet_diagnostic.SA1402.severity = none # File may only contain a single type
dotnet_diagnostic.SA1405.severity = none # Debug.Assert should provide message text
dotnet_diagnostic.SA1414.severity = none # Tuple types in signatures should have element names
# StyleCop: Documentation Rules
dotnet_diagnostic.SA1623.severity = none # Property summary documentation should match accessors
dotnet_diagnostic.SA1629.severity = none # Documentation text should end with a period
dotnet_diagnostic.SA1642.severity = none # Constructor summary documentation should begin with standard text
dotnet_diagnostic.SA1649.severity = none # File name should match first type name
[*.{fs,fsi}]
indent_size = 4
fsharp_max_array_or_list_width = 80
fsharp_max_dot_get_expression_width = 100
fsharp_max_if_then_else_short_width = 100
fsharp_max_infix_operator_expression = 100
fsharp_max_record_number_of_items = 2
fsharp_max_value_binding_width = 100
fsharp_multiline_block_brackets_on_same_column = true
fsharp_record_multiline_formatter = number_of_items