GooseAnalyzers 0.2.0
See the version list below for details.
dotnet add package GooseAnalyzers --version 0.2.0
NuGet\Install-Package GooseAnalyzers -Version 0.2.0
<PackageReference Include="GooseAnalyzers" Version="0.2.0" />
paket add GooseAnalyzers --version 0.2.0
#r "nuget: GooseAnalyzers, 0.2.0"
// Install GooseAnalyzers as a Cake Addin #addin nuget:?package=GooseAnalyzers&version=0.2.0 // Install GooseAnalyzers as a Cake Tool #tool nuget:?package=GooseAnalyzers&version=0.2.0
GooseAnalyzers
GooseAnalyzers is a collection of .NET Analyzers for your C# code.
Getting Started
Install the
GooseAnalyzers
NuGet package in your project.Optionally, set
TreatWarningsAsErrors
totrue
when inRelease
configuration in your project files.<TreatWarningsAsErrors Condition="'$(Configuration)'=='Release'">true</TreatWarningsAsErrors>
We recommend this so that you get warnings that don't block your dev loop, but errors that block your CI/CD pipelines.
List of Analyzers
Identifier | Name | Description |
---|---|---|
GOOSE001 |
XmlDocumentationRequiredSuppressor | Limits the scope of CS1591 and SA1600 to interfaces.<br/> |
Features
GOOSE001
- XML Documentation on Interfaces
The GOOSE001
analyzer is a DiagnosticSuppressor
for the CS1591 and SA1600 rules that demand XML documentation on all public types and members.
This is a good practice, but it can unrealistic in some contexts.
We think that in those cases, having xml documentation on interfaces is a good middle ground.
We recommend you enable the CS1591
or SA1600
rules in your project and use this suppressor to limit their scope to interfaces or disable this suppressor.
Breaking Changes
Please consult BREAKING_CHANGES.md for more information about version history and compatibility.
License
This project is licensed under the Apache 2.0 license - see the LICENSE file for details.
Contributing
Please read CONTRIBUTING.md for details on the process for contributing to this project.
Be mindful of our Code of Conduct.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.