Hantsch.CSharp.StyleCop
1.0.4
dotnet add package Hantsch.CSharp.StyleCop --version 1.0.4
NuGet\Install-Package Hantsch.CSharp.StyleCop -Version 1.0.4
<PackageReference Include="Hantsch.CSharp.StyleCop" Version="1.0.4" />
<PackageVersion Include="Hantsch.CSharp.StyleCop" Version="1.0.4" />
<PackageReference Include="Hantsch.CSharp.StyleCop" />
paket add Hantsch.CSharp.StyleCop --version 1.0.4
#r "nuget: Hantsch.CSharp.StyleCop, 1.0.4"
#:package Hantsch.CSharp.StyleCop@1.0.4
#addin nuget:?package=Hantsch.CSharp.StyleCop&version=1.0.4
#tool nuget:?package=Hantsch.CSharp.StyleCop&version=1.0.4
Hantsch.CSharp.StyleCop
Hantsch.CSharp.StyleCop is a NuGet package that bundles the StyleCop setup I use in my own C# projects, so I can outsource some arguing to analyzers and get back to writing code.
It depends on StyleCop.Analyzers and ships shared analyzer configuration transitively, so consuming projects automatically receive the same rules and settings without every repository inventing its own tiny bureaucracy.
What the package includes
stylecop.jsonhantsch.stylecop.rulesetconfig/Hantsch.CSharp.StyleCop.globalconfigbuildTransitive/hantsch.csharp.stylecop.props
In other words: the package arrives with opinions, luggage, and receipts.
Who this is for
This package is primarily maintained for my own projects, but anyone is free to use it if the included rules match their preferred C# style and tolerance for a mildly bossy robot.
License
This project is available under the MIT License. See LICENSE for details, which is the nice license that mostly says “have fun, just do not blame me if the code gets weird.”
Learn more about Target Frameworks and .NET Standard.
-
- StyleCop.Analyzers (>= 1.1.118)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.