Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Newtonsoft.Json with System.Text.Json #23

Merged
merged 8 commits into from
Oct 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply some code style
eNeRGy164 committed Sep 16, 2024
commit 4ea4ca95f60a30803561d29f9486770f1ee25538
10 changes: 9 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
root = true

###############################
# Core EditorConfig Options #
###############################
@@ -8,11 +10,14 @@
indent_style = space

[*.{csproj,xml,runsettings}]
indent_style = space
indent_size = 2
tab_size = 2

# Code files
[*.{cs,csx,vb,vbx}]
indent_size = 4
tab_size = 4
insert_final_newline = true
charset = utf-8

@@ -72,7 +77,7 @@ csharp_style_var_for_built_in_types = true
csharp_style_var_when_type_is_apparent = true
csharp_style_var_elsewhere = true
# Expression-bodied members
csharp_style_expression_bodied_methods = false:suggestion
csharp_style_expression_bodied_methods = false:silent
csharp_style_expression_bodied_constructors = false:suggestion
csharp_style_expression_bodied_operators = false:suggestion
csharp_style_expression_bodied_properties = true:suggestion
@@ -122,3 +127,6 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
# Wrapping preferences
csharp_preserve_single_line_statements = true
csharp_preserve_single_line_blocks = true

# IDE0022: Use block body for method
dotnet_diagnostic.IDE0022.severity = silent
16 changes: 8 additions & 8 deletions src/DendroDocs.Tool/DendroDocs.Tool.csproj
Original file line number Diff line number Diff line change
@@ -32,14 +32,14 @@
<EmbeddedResource Include="schema.json" />
</ItemGroup>

<ItemGroup>
<Using Include="CommandLine" />
<Using Include="DendroDocs.Extensions" />
<Using Include="DendroDocs.Json" />
<Using Include="Microsoft.CodeAnalysis" />
<Using Include="Microsoft.CodeAnalysis.CSharp" />
<Using Include="Microsoft.CodeAnalysis.CSharp.Syntax" />
</ItemGroup>
<ItemGroup>
<Using Include="CommandLine" />
<Using Include="DendroDocs.Extensions" />
<Using Include="DendroDocs.Json" />
<Using Include="Microsoft.CodeAnalysis" />
<Using Include="Microsoft.CodeAnalysis.CSharp" />
<Using Include="Microsoft.CodeAnalysis.CSharp.Syntax" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Buildalyzer.Workspaces" Version="7.0.2" />
Original file line number Diff line number Diff line change
@@ -733,8 +733,6 @@ class Test
""".UseUnixNewLine());
}



[TestMethod]
public void TagWithNumberedList_Should_HaveNumberedListItemsAsLinesInComment()
{