Skip to content

Commit 01e9ef4

Browse files
author
Ruben Schmidmeister
authored
Merge pull request #51 from messerli-informatik-ag/update-stylecop
Update stylecop
2 parents 7e7bfee + 39f8b42 commit 01e9ef4

File tree

5 files changed

+36
-3
lines changed

5 files changed

+36
-3
lines changed

CodeStyle.sln

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.26124.0
@@ -16,6 +16,7 @@ ProjectSection(SolutionItems) = preProject
1616
changelog.md = changelog.md
1717
EndProjectSection
1818
EndProject
19+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sandbox", "Sandbox\Sandbox.csproj", "{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}"
1920
EndProject
2021
Global
2122
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -42,5 +43,17 @@ Global
4243
{72372049-E988-4FE2-BD85-447BA6F12372}.Release|x64.Build.0 = Release|Any CPU
4344
{72372049-E988-4FE2-BD85-447BA6F12372}.Release|x86.ActiveCfg = Release|Any CPU
4445
{72372049-E988-4FE2-BD85-447BA6F12372}.Release|x86.Build.0 = Release|Any CPU
46+
{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
47+
{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}.Debug|Any CPU.Build.0 = Debug|Any CPU
48+
{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}.Debug|x64.ActiveCfg = Debug|Any CPU
49+
{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}.Debug|x64.Build.0 = Debug|Any CPU
50+
{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}.Debug|x86.ActiveCfg = Debug|Any CPU
51+
{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}.Debug|x86.Build.0 = Debug|Any CPU
52+
{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}.Release|Any CPU.ActiveCfg = Release|Any CPU
53+
{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}.Release|Any CPU.Build.0 = Release|Any CPU
54+
{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}.Release|x64.ActiveCfg = Release|Any CPU
55+
{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}.Release|x64.Build.0 = Release|Any CPU
56+
{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}.Release|x86.ActiveCfg = Release|Any CPU
57+
{507A6B2B-4AED-4071-AA38-6EDAF39FDC13}.Release|x86.Build.0 = Release|Any CPU
4558
EndGlobalSection
4659
EndGlobal

CodeStyle/CodeStyle.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.Build.NoTargets">
33
<PropertyGroup>
4-
<Version>2.0.0-rc.1</Version>
4+
<Version>2.0.0-rc.2</Version>
55
<RepositoryUrl>https://github.com/messerli-informatik-ag/code-style</RepositoryUrl>
66
<RepositoryType>git</RepositoryType>
77
<PackageId>Messerli.CodeStyle</PackageId>
@@ -22,7 +22,7 @@
2222
</PropertyGroup>
2323
<ItemGroup>
2424
<PackageReference Include="IDisposableAnalyzers" Version="3.4.1" PrivateAssets="none" />
25-
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.205" PrivateAssets="none" />
25+
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.261" PrivateAssets="none" />
2626
</ItemGroup>
2727
<ItemGroup>
2828
<None Include="build\**\*">

Sandbox/ExampleRecord.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace Sandbox
2+
{
3+
public sealed record ExampleRecord
4+
{
5+
}
6+
}

Sandbox/Sandbox.csproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>net5.0</TargetFramework>
4+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
5+
<IsPackable>false</IsPackable>
6+
</PropertyGroup>
7+
<ItemGroup>
8+
<ProjectReference Include="..\CodeStyle\CodeStyle.csproj" />
9+
</ItemGroup>
10+
<Import Project="..\CodeStyle\build\Messerli.CodeStyle.props" />
11+
</Project>

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ Initial release
3838
* Breaking: Treat all nullability warnings as errors.
3939
* Lints involving single line comments have been reduced to warnings to make temporary code commenting easier.
4040
* The hungarian notation rule has been relaxed to allow `js` and `db` since those two are common "false positives".
41+
42+
## 2.0.0-rc.2
43+
- Update StyleCop.Analyzers to 1.2.0-beta.261. ([diff](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.205...1.2.0-beta.261))

0 commit comments

Comments
 (0)