BitCore.CodingPolicy
2022.826.19
dotnet add package BitCore.CodingPolicy --version 2022.826.19
NuGet\Install-Package BitCore.CodingPolicy -Version 2022.826.19
<PackageReference Include="BitCore.CodingPolicy" Version="2022.826.19"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add BitCore.CodingPolicy --version 2022.826.19
#r "nuget: BitCore.CodingPolicy, 2022.826.19"
// Install BitCore.CodingPolicy as a Cake Addin #addin nuget:?package=BitCore.CodingPolicy&version=2022.826.19 // Install BitCore.CodingPolicy as a Cake Tool #tool nuget:?package=BitCore.CodingPolicy&version=2022.826.19
BitCore.CodingPolicy
Description
The BitCore.Coding policy is a collection of naming and coding rules for the C# programming language. The rules are based on the C# Coding Conventions and the C# identifier naming rules and conventions.
The rules only respect .cs
files. Code analyzer for other files than .cs
code aren't supported right now.
Analyzer
Following analyzers are configured in the BitCore.ruleset
file:
| Analyzer | CodeId-Prefix |
|---|---|
| SonarAnalyzer.CSharp | S |
| StyleCop.Analyzers | SA, SX |
| Microsoft.CodeQuality.Analyzers | CA |
| Microsoft.NetCore.Analyzers | CA |
| Microsoft.NetCore.CSharp.Analyzers | CA |
| Microsoft.CodeQuality.CSharp.Analyzers | CA |
| IDisposableAnalyzers | IDISP |
Files
- BitCore.ruleset: Configuration for Analyzers
- stylecop.json: Further Stylecop.Analyzer rules
Notes
The .csproj
is required for dotnet
to be able to create a nuget package
> dotnet pack --no-build BitCore.CodingPolicy.csproj
Links
Learn more about Target Frameworks and .NET Standard.
-
- IDisposableAnalyzers (>= 4.0.2)
- Microsoft.CodeAnalysis.NetAnalyzers (>= 6.0.0)
- SonarAnalyzer.CSharp (>= 8.38.0.46746)
- StyleCop.Analyzers (>= 1.2.0-beta.406)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2022.826.19 | 181 | 8/26/2022 |
2022.826.18 | 121 | 8/26/2022 |
2022.826.17 | 118 | 8/26/2022 |
2022.826.16 | 113 | 8/26/2022 |
2022.826.15 | 117 | 8/26/2022 |
2022.826.14 | 114 | 8/26/2022 |
2022.826.13 | 116 | 8/26/2022 |
2022.826.12 | 107 | 8/26/2022 |
2022.826.11 | 122 | 8/26/2022 |
2022.826.10 | 114 | 8/26/2022 |
2022.826.9 | 122 | 8/26/2022 |
2022.826.8 | 121 | 8/26/2022 |
2022.826.7 | 119 | 8/26/2022 |
2022.826.2 | 116 | 8/26/2022 |
Initial release