Skip to content

Commit 5be3cff

Browse files
authored
Style fix final (#523)
* all net5 * var * SA1310 * SA1310 * allow 1031 * SA1805 * fix SA1642 * remove unused code * allow sa1405 * isempty * fix CA1714 * fix CA1806 * remove always false if * fix format * fix CA1062 * allow SA0001 * fix CA1062 * allow ca1034 and temp allow ca1835 * fix 16XX doc related warnings * elm SA16XX * elm SA16XX * fix CA2213 * revert to pass all test * move unclear rule to ruleset * follow up of moving ruleset * remove this * fix test flaky
1 parent 8003ab0 commit 5be3cff

File tree

74 files changed

+841
-628
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+841
-628
lines changed

examples/attach/attach.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<ItemGroup>
3+
<ItemGroup>
44
<ProjectReference Include="..\..\src\KubernetesClient\KubernetesClient.csproj" />
55
</ItemGroup>
66

77
<PropertyGroup>
8-
<OutputType>Exe</OutputType>
9-
<TargetFramework>netcoreapp2.1</TargetFramework>
10-
<LangVersion>7.1</LangVersion>
8+
<OutputType>Exe</OutputType>
9+
<TargetFramework>net5</TargetFramework>
1110
</PropertyGroup>
1211

1312
</Project>

examples/exec/exec.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66

77
<PropertyGroup>
88
<OutputType>Exe</OutputType>
9-
<TargetFramework>netcoreapp2.1</TargetFramework>
10-
<LangVersion>7.1</LangVersion>
9+
<TargetFramework>net5</TargetFramework>
1110
</PropertyGroup>
1211

1312
</Project>

examples/httpClientFactory/httpClientFactory.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.2</TargetFramework>
6-
<LangVersion>latest</LangVersion>
5+
<TargetFramework>net5</TargetFramework>
76
</PropertyGroup>
87

98
<ItemGroup>

examples/labels/labels.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<ItemGroup>
44
<ProjectReference Include="..\..\src\KubernetesClient\KubernetesClient.csproj" />
55
</ItemGroup>
66

77
<PropertyGroup>
88
<OutputType>Exe</OutputType>
9-
<TargetFramework>netcoreapp2.0</TargetFramework>
9+
<TargetFramework>net5</TargetFramework>
1010
</PropertyGroup>
1111

1212
</Project>

examples/logs/logs.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<ItemGroup>
44
<ProjectReference Include="..\..\src\KubernetesClient\KubernetesClient.csproj" />
55
</ItemGroup>
66

77
<PropertyGroup>
88
<OutputType>Exe</OutputType>
9-
<TargetFramework>netcoreapp2.0</TargetFramework>
10-
<LangVersion>7.1</LangVersion>
9+
<TargetFramework>net5</TargetFramework>
1110
</PropertyGroup>
1211

1312
</Project>

examples/metrics/metrics.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

examples/namespace/namespace.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<ItemGroup>
44
<ProjectReference Include="..\..\src\KubernetesClient\KubernetesClient.csproj" />
55
</ItemGroup>
66

77
<PropertyGroup>
88
<OutputType>Exe</OutputType>
9-
<TargetFramework>netcoreapp2.0</TargetFramework>
9+
<TargetFramework>net5</TargetFramework>
1010
</PropertyGroup>
1111

1212
</Project>

examples/patch/patch.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.1</TargetFramework>
5+
<TargetFramework>net5</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

examples/simple/simple.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<ItemGroup>
44
<ProjectReference Include="..\..\src\KubernetesClient\KubernetesClient.csproj" />
55
</ItemGroup>
66

77
<PropertyGroup>
88
<OutputType>Exe</OutputType>
9-
<TargetFramework>netcoreapp2.0</TargetFramework>
9+
<TargetFramework>net5</TargetFramework>
1010
</PropertyGroup>
1111

1212
</Project>

examples/watch/watch.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.0</TargetFramework>
5+
<TargetFramework>net5</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>

0 commit comments

Comments
 (0)