Solhigson.Analyzers
10.1.0
See the version list below for details.
dotnet add package Solhigson.Analyzers --version 10.1.0
NuGet\Install-Package Solhigson.Analyzers -Version 10.1.0
<PackageReference Include="Solhigson.Analyzers" Version="10.1.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Solhigson.Analyzers" Version="10.1.0" />
<PackageReference Include="Solhigson.Analyzers"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Solhigson.Analyzers --version 10.1.0
#r "nuget: Solhigson.Analyzers, 10.1.0"
#:package Solhigson.Analyzers@10.1.0
#addin nuget:?package=Solhigson.Analyzers&version=10.1.0
#tool nuget:?package=Solhigson.Analyzers&version=10.1.0
Development-only compile-time rules for Solhigson projects: the IDE style rules with a fixer at warning in a packaged .globalconfig, superseded APIs in a BannedSymbols.txt under Microsoft.CodeAnalysis.BannedApiAnalyzers, the SOLT test-class analyzers, and the SOLT settings declaration analyzers, which hold each [Setting] property to the settings catalog's declaration rules.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.CodeAnalysis.BannedApiAnalyzers (>= 4.14.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
10.1.0: carries the Solhigson dotnet design at 9c8f4bb (docs/design/dotnet-design.md, with the Owner line naming groomer-solhigson-framework and the settings-file rule naming SOLT003-SOLT007 as shipped in this release). The SOLT settings declaration rules, category Solhigson.Settings, set to warning in the .globalconfig, on a property carrying Solhigson.Framework's [Setting]: SOLT003 a number or duration read from the settings table without both a Floor and a Ceiling, SOLT004 a File setting with a blank Reason, SOLT005 a Secret setting outside the settings table or with a Default, SOLT006 a declaration the settings catalog refuses (a Default, Floor or Ceiling that does not parse as the property's type, inverted bounds, a Default outside them, a type off the set, a [Setting] outside a [SettingsGroup]), and SOLT007 a setting whose <group>:<property> name looks secret, by the framework's SecretSettingName rule linked in, not declared Secret; the host does not re-check a declared setting's name, so silencing SOLT007 lets that value be stored unencrypted. Each is silenced by a solhigson-exceptions.txt line SOLT00n|<group type metadata name>.<property>|<reason>|<expiry yyyy-MM-dd>. 10.0.0: first release, carrying the Solhigson dotnet design at 517cca3 (docs/design/dotnet-design.md, Enforcement layer 2 and K). The .globalconfig sets the IDE idiom rules with a fixer, RS0030 and SOLT000-SOLT002 to warning, and EnforceCodeStyleInBuild is pinned in the package .targets; BannedSymbols.txt bans the ambient clock, the parameterless Random constructor, Thread.Sleep and the non-generic collections; SOLT001 refuses an xunit v2 test class whose only teardown is IAsyncDisposable, SOLT002 a File.ReadAll* of a constant .cs path, and SOLT000 an invalid, expired or stale solhigson-exceptions.txt line.