StyleCop.Analyzers
1.3.98-beta
See the version list below for details.
Requires NuGet 2.7 or higher.
dotnet add package StyleCop.Analyzers --version 1.3.98-beta
NuGet\Install-Package StyleCop.Analyzers -Version 1.3.98-beta
<PackageReference Include="StyleCop.Analyzers" Version="1.3.98-beta"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="StyleCop.Analyzers" Version="1.3.98-beta" />
<PackageReference Include="StyleCop.Analyzers"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add StyleCop.Analyzers --version 1.3.98-beta
#r "nuget: StyleCop.Analyzers, 1.3.98-beta"
#:package StyleCop.Analyzers@1.3.98-beta
#addin nuget:?package=StyleCop.Analyzers&version=1.3.98-beta&prerelease
#tool nuget:?package=StyleCop.Analyzers&version=1.3.98-beta&prerelease
StyleCop.Analyzers
An implementation of the StyleCop rules using Roslyn analyzers and code fixes. The analyzers report style and consistency issues in C# code while you build or edit, and many of them include code fixes.
Getting started
Add the package to each project you want to check:
dotnet add package StyleCop.Analyzers
The package is a development dependency, so it is not added as a dependency of your own package.
Configuration
- Use an .editorconfig file or a rule set to change the severity of individual rules, or to turn rules off.
- Use a stylecop.json file to customize the behavior of certain rules, such as the file header or the ordering of
usingdirectives. See Configuration.md.
Documentation
Feedback
Report bugs and ask questions in the GitHub repository.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (329)
Showing the top 5 NuGet packages that depend on StyleCop.Analyzers:
| Package | Downloads |
|---|---|
|
NI.CSharp.Analyzers
NI's code analyzers and rulesets for C# projects. |
|
|
StyleCop.Analyzers.Error
This package with make build warnings as error |
|
|
DocWorks.Common
This is common code in DocWorks CMS Application |
|
|
DocWorks.Common.SEDAEvents
This is common code in DocWorks CMS Application |
|
|
OBeautifulCode.Build.Analyzers
The internal analyzers to use. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.180 | 65,720 | 11/11/2026 |
| 1.3.177-beta | 22,261 | 11/6/2026 |
| 1.3.171-beta | 17,523 | 11/4/2026 |
| 1.3.151-beta | 173,842 | 10/21/2026 |
| 1.3.149-beta | 11,874 | 10/20/2026 |
| 1.3.133-beta | 25,154 | 10/19/2026 |
| 1.3.109-beta | 19,595 | 10/17/2026 |
| 1.3.98-beta | 3,974 | 10/16/2026 |
| 1.3.82-beta | 17,679 | 10/15/2026 |
| 1.3.79-beta | 15,955 | 10/14/2026 |
| 1.3.18-beta | 18,178 | 10/13/2026 |
| 1.3.1-beta | 11,312 | 10/12/2026 |
| 1.2.0-beta.556 | 66,353,794 | 12/20/2023 |
| 1.2.0-beta.507 | 8,768,574 | 6/21/2023 |
| 1.2.0-beta.435 | 19,195,978 | 5/3/2022 |
| 1.2.0-beta.406 | 3,521,670 | 1/28/2022 |
| 1.2.0-beta.376 | 2,112,388 | 12/9/2021 |
| 1.2.0-beta.354 | 5,963,829 | 6/17/2021 |
| 1.2.0-beta.333 | 5,478,276 | 3/11/2021 |