Skip to content

Commit

Permalink
Adding editor config + cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MichielOda committed Feb 8, 2024
1 parent 2d08113 commit 339793d
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 40 deletions.
26 changes: 15 additions & 11 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@

[*]
indent_style = space
indent_size = 4
end_of_line = crlf
trim_trailing_whitespace = true
root = true

[*]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.csproj]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.cs]

dotnet_sort_system_directives_first = true
dotnet_style_predefined_type_for_locals_parameters_members = true
dotnet_style_predefined_type_for_member_access = false
[*.cs]
dotnet_sort_system_directives_first = true
dotnet_style_predefined_type_for_locals_parameters_members = true
dotnet_style_predefined_type_for_member_access = false
4 changes: 1 addition & 3 deletions CICD.Tools.SDKChecker/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ public static async Task<int> Main(string[] args)
{
IsRequired = false
};



var repoBranchOption = new Option<string>(
name: "--repositoryBranch",
description: "The branch of the repository, when provided a call will be made to devopsmetrics.skyline.be.")
Expand All @@ -55,7 +54,6 @@ public static async Task<int> Main(string[] args)
repoBranchOption,
};


rootCommand.SetHandler(Process, workspaceOption, repoSourceOption, repoBranchOption);

await rootCommand.InvokeAsync(args);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,33 +1,29 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<IsPackable>false</IsPackable>
</PropertyGroup>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<None Include="TestData\**" />
</ItemGroup>
<ItemGroup>
<None Include="TestData\**" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Build.Locator" Version="1.5.5" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.2.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.2.0" />
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Build.Locator" Version="1.5.5" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.2.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.2.0" />
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\CICD.Tools.SDKChecker\CICD.Tools.SDKChecker.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="TestData\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CICD.Tools.SDKChecker\CICD.Tools.SDKChecker.csproj" />
</ItemGroup>
</Project>

0 comments on commit 339793d

Please sign in to comment.