Skip to content

Commit 1b8027d

Browse files
committed
Apply some code style
1 parent 7f7abe2 commit 1b8027d

File tree

3 files changed

+42
-38
lines changed

3 files changed

+42
-38
lines changed

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
2+
root = t
3+
24
###############################
35
# Core EditorConfig Options #
46
###############################
@@ -8,11 +10,14 @@
810
indent_style = space
911

1012
[*.{csproj,xml,runsettings}]
13+
indent_style = space
1114
indent_size = 2
15+
tab_width = 2
1216

1317
# Code files
1418
[*.{cs,csx,vb,vbx}]
1519
indent_size = 4
20+
tab_width = 4
1621
insert_final_newline = true
1722
charset = utf-8
1823

@@ -21,6 +26,7 @@ charset = utf-8
2126
###############################
2227

2328
[*.{cs,vb}]
29+
dotnet_style_namespace_match_folder = false
2430
# Organize usings
2531
dotnet_sort_system_directives_first = true:warning
2632
# this. preferences
Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
5-
<ImplicitUsings>enable</ImplicitUsings>
6-
<Nullable>enable</Nullable>
7-
<LangVersion>latest</LangVersion>
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<LangVersion>latest</LangVersion>
88

9-
<RootNamespace>DendroDocs</RootNamespace>
10-
11-
<Authors>Michaël Hompus</Authors>
12-
<PackageProjectUrl>https://github.com/DendroDocs/dotnet-shared-lib</PackageProjectUrl>
13-
<Description></Description>
14-
<Copyright>Copyright Michaël Hompus 2019</Copyright>
15-
<RepositoryUrl>https://github.com/DendroDocs/dotnet-shared-lib</RepositoryUrl>
16-
<RepositoryType>git</RepositoryType>
17-
<PackageTags>Living Documentation; DendroDocs; Roslyn; UML; Generation;</PackageTags>
18-
<NeutralLanguage>en-US</NeutralLanguage>
19-
<Version>0.1.0</Version>
20-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
9+
<RootNamespace>DendroDocs</RootNamespace>
2110

22-
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
23-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
24-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
25-
<IncludeSymbols>true</IncludeSymbols>
26-
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
27-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
28-
</PropertyGroup>
11+
<Authors>Michaël Hompus</Authors>
12+
<PackageProjectUrl>https://github.com/DendroDocs/dotnet-shared-lib</PackageProjectUrl>
13+
<Description></Description>
14+
<Copyright>Copyright Michaël Hompus 2019</Copyright>
15+
<RepositoryUrl>https://github.com/DendroDocs/dotnet-shared-lib</RepositoryUrl>
16+
<RepositoryType>git</RepositoryType>
17+
<PackageTags>Living Documentation; DendroDocs; Roslyn; UML; Generation;</PackageTags>
18+
<NeutralLanguage>en-US</NeutralLanguage>
19+
<Version>0.1.0</Version>
20+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2921

30-
<ItemGroup>
31-
<Using Include="System.ComponentModel" />
32-
<Using Include="System.Diagnostics" />
33-
<Using Include="System.Runtime.Serialization" />
34-
<Using Include="Newtonsoft.Json" />
35-
<Using Remove="System.IO" />
36-
<Using Remove="System.Net.Http" />
37-
</ItemGroup>
22+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
23+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
24+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
25+
<IncludeSymbols>true</IncludeSymbols>
26+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
27+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
28+
</PropertyGroup>
3829

39-
<ItemGroup>
40-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
41-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
42-
</ItemGroup>
30+
<ItemGroup>
31+
<Using Include="System.ComponentModel" />
32+
<Using Include="System.Diagnostics" />
33+
<Using Include="System.Runtime.Serialization" />
34+
<Using Include="Newtonsoft.Json" />
35+
<Using Remove="System.IO" />
36+
<Using Remove="System.Net.Http" />
37+
</ItemGroup>
38+
39+
<ItemGroup>
40+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
41+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
42+
</ItemGroup>
4343

4444
</Project>

tests/DendroDocs.Shared.Tests/Extensions/IHaveModifiersExtensionsTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using DendroDocs.Descriptions;
2-
31
namespace DendroDocs.Extensions.Tests;
42

53
[TestClass]

0 commit comments

Comments
 (0)