File tree 3 files changed +17
-11
lines changed
tests/DendroDocs.Tool.Tests
3 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 1
1
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
2
+ root = true
3
+
2
4
# ##############################
3
5
# Core EditorConfig Options #
4
6
# ##############################
8
10
indent_style = space
9
11
10
12
[* .{csproj,xml,runsettings} ]
13
+ indent_style = space
11
14
indent_size = 2
15
+ tab_size = 2
12
16
13
17
# Code files
14
18
[* .{cs,csx,vb,vbx} ]
15
19
indent_size = 4
20
+ tab_size = 4
16
21
insert_final_newline = true
17
22
charset = utf-8
18
23
@@ -72,7 +77,7 @@ csharp_style_var_for_built_in_types = true
72
77
csharp_style_var_when_type_is_apparent = true
73
78
csharp_style_var_elsewhere = true
74
79
# Expression-bodied members
75
- csharp_style_expression_bodied_methods = false :suggestion
80
+ csharp_style_expression_bodied_methods = false :silent
76
81
csharp_style_expression_bodied_constructors = false :suggestion
77
82
csharp_style_expression_bodied_operators = false :suggestion
78
83
csharp_style_expression_bodied_properties = true :suggestion
@@ -122,3 +127,6 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
122
127
# Wrapping preferences
123
128
csharp_preserve_single_line_statements = true
124
129
csharp_preserve_single_line_blocks = true
130
+
131
+ # IDE0022: Use block body for method
132
+ dotnet_diagnostic.IDE0022.severity = silent
Original file line number Diff line number Diff line change 32
32
<EmbeddedResource Include =" schema.json" />
33
33
</ItemGroup >
34
34
35
- <ItemGroup >
36
- <Using Include =" CommandLine" />
37
- <Using Include =" DendroDocs.Extensions" />
38
- <Using Include =" DendroDocs.Json" />
39
- <Using Include =" Microsoft.CodeAnalysis" />
40
- <Using Include =" Microsoft.CodeAnalysis.CSharp" />
41
- <Using Include =" Microsoft.CodeAnalysis.CSharp.Syntax" />
42
- </ItemGroup >
35
+ <ItemGroup >
36
+ <Using Include =" CommandLine" />
37
+ <Using Include =" DendroDocs.Extensions" />
38
+ <Using Include =" DendroDocs.Json" />
39
+ <Using Include =" Microsoft.CodeAnalysis" />
40
+ <Using Include =" Microsoft.CodeAnalysis.CSharp" />
41
+ <Using Include =" Microsoft.CodeAnalysis.CSharp.Syntax" />
42
+ </ItemGroup >
43
43
44
44
<ItemGroup >
45
45
<PackageReference Include =" Buildalyzer.Workspaces" Version =" 7.0.2" />
Original file line number Diff line number Diff line change @@ -733,8 +733,6 @@ class Test
733
733
""" . UseUnixNewLine ( ) ) ;
734
734
}
735
735
736
-
737
-
738
736
[ TestMethod ]
739
737
public void TagWithNumberedList_Should_HaveNumberedListItemsAsLinesInComment ( )
740
738
{
You can’t perform that action at this time.
0 commit comments