File tree Expand file tree Collapse file tree 3 files changed +17
-11
lines changed
tests/DendroDocs.Tool.Tests Expand file tree Collapse file tree 3 files changed +17
-11
lines changed Original file line number Diff line number Diff line change 11# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
2+ root = true
3+
24# ##############################
35# Core EditorConfig Options #
46# ##############################
810indent_style = space
911
1012[* .{csproj,xml,runsettings} ]
13+ indent_style = space
1114indent_size = 2
15+ tab_size = 2
1216
1317# Code files
1418[* .{cs,csx,vb,vbx} ]
1519indent_size = 4
20+ tab_size = 4
1621insert_final_newline = true
1722charset = utf-8
1823
@@ -72,7 +77,7 @@ csharp_style_var_for_built_in_types = true
7277csharp_style_var_when_type_is_apparent = true
7378csharp_style_var_elsewhere = true
7479# Expression-bodied members
75- csharp_style_expression_bodied_methods = false :suggestion
80+ csharp_style_expression_bodied_methods = false :silent
7681csharp_style_expression_bodied_constructors = false :suggestion
7782csharp_style_expression_bodied_operators = false :suggestion
7883csharp_style_expression_bodied_properties = true :suggestion
@@ -122,3 +127,6 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
122127# Wrapping preferences
123128csharp_preserve_single_line_statements = true
124129csharp_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 3232 <EmbeddedResource Include =" schema.json" />
3333 </ItemGroup >
3434
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 >
4343
4444 <ItemGroup >
4545 <PackageReference Include =" Buildalyzer.Workspaces" Version =" 7.0.2" />
Original file line number Diff line number Diff line change @@ -733,8 +733,6 @@ class Test
733733 """ . UseUnixNewLine ( ) ) ;
734734 }
735735
736-
737-
738736 [ TestMethod ]
739737 public void TagWithNumberedList_Should_HaveNumberedListItemsAsLinesInComment ( )
740738 {
You can’t perform that action at this time.
0 commit comments