Neolution.CodeAnalysis.TestsRuleset 3.0.5

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Neolution.CodeAnalysis.TestsRuleset --version 3.0.5
NuGet\Install-Package Neolution.CodeAnalysis.TestsRuleset -Version 3.0.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Neolution.CodeAnalysis.TestsRuleset" Version="3.0.5">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Neolution.CodeAnalysis.TestsRuleset --version 3.0.5
#r "nuget: Neolution.CodeAnalysis.TestsRuleset, 3.0.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Neolution.CodeAnalysis.TestsRuleset as a Cake Addin
#addin nuget:?package=Neolution.CodeAnalysis.TestsRuleset&version=3.0.5

// Install Neolution.CodeAnalysis.TestsRuleset as a Cake Tool
#tool nuget:?package=Neolution.CodeAnalysis.TestsRuleset&version=3.0.5

Neolution Code Analysis rulesets

We maintain two (opinionated) rulesets for all our projects and distribute them, including 3rd-party Roslyn Analyzers (StyleCop and SonarSource) in two respective NuGet packages.

Decisions and opinions

The base ruleset consists of the default ruleset of the Roslyn Analyzers we include in the NuGet package and those used in our build tools.

  • We include our own opinionated ruleset with adjusted Analyzer severities as a Global AnalyzerConfig
  • In all build configurations other that Debug, warnings will be converted to errors.
  • We include our own stylecop.json configuration file.

Versioning

Given a version number MAJOR.MINOR.PATCH, an incremented number for:

  • MAJOR version means there are incompatible changes with the previous version,
  • MINOR version means functionality and rules were added, and
  • PATCH version means that the changes are all completely backwards compatible. Usually when rules were lowered in severity or disabled/removed.

What it means in practice:

  • You can (and should) always update the package to the latest PATCH version whenever you have the chance to do it, it should never break the build.
  • Updating to the latest MINOR version can break the build and may require minor refactorings. But you can expect to have Roslyn code fixes and/or documentation available for the changes that are needed to fix the build.
  • MAJOR updates will break your build and may require major refactorings.
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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
3.1.0-beta.1 42 4/3/2024
3.1.0-beta.0 62 2/12/2024
3.0.5 3,539 9/28/2023
3.0.4 68 9/27/2023
3.0.3 1,359 7/20/2023
3.0.2 1,114 7/17/2023
3.0.1 101 7/12/2023
3.0.0 461 6/28/2023
3.0.0-rc.4 70 6/22/2023
3.0.0-rc.3 62 6/20/2023
3.0.0-rc.2 64 6/16/2023
3.0.0-rc.1 64 6/14/2023
3.0.0-rc.0 65 6/14/2023
3.0.0-beta0016 102 3/8/2023
3.0.0-beta0015 84 3/8/2023
3.0.0-beta0014 86 3/3/2023
3.0.0-beta0013 82 3/2/2023
3.0.0-beta0011 78 2/15/2023
3.0.0-beta0010 77 2/15/2023
3.0.0-beta0006 79 2/14/2023
3.0.0-beta0005 79 2/14/2023
3.0.0-beta0004 77 2/14/2023
3.0.0-beta0001 1,356 2/14/2023
2.7.2 96 6/28/2023
2.7.2-rc.0 63 6/14/2023
2.7.1 1,145 6/14/2023
2.7.1-rc.0 62 6/14/2023
2.7.1-alpha.5 59 6/14/2023
2.7.0 1,092 5/30/2023
2.6.1 1,920 2/9/2023
2.6.0 1,267 2/7/2023
2.5.9 5,774 6/23/2022