Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/StyleCop/StyleCop
Analyzes C# source code to enforce a set of style and consistency rules.
https://github.com/StyleCop/StyleCop
Last synced: about 2 months ago
JSON representation
Analyzes C# source code to enforce a set of style and consistency rules.
- Host: GitHub
- URL: https://github.com/StyleCop/StyleCop
- Owner: StyleCop
- License: ms-pl
- Created: 2014-12-18T09:04:33.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-14T19:10:58.000Z (10 months ago)
- Last Synced: 2024-10-15T13:22:22.887Z (2 months ago)
- Language: C#
- Homepage:
- Size: 353 MB
- Stars: 1,194
- Watchers: 74
- Forks: 148
- Open Issues: 101
-
Metadata Files:
- Readme: README.md
- License: License.Rtf
Awesome Lists containing this project
- awesome - StyleCop/StyleCop - Analyzes C# source code to enforce a set of style and consistency rules. (C\#)
README
# StyleCop "Classic"
## NOTE: This project is no longer very active. See the "Considerations" section below.
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/StyleCop/StyleCop?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
StyleCop analyzes C# source code to enforce a set of style and consistency rules. It is available in two primary forms:
1. The [StyleCop Visual Studio extension](https://marketplace.visualstudio.com/items?itemName=ChrisDahlberg.StyleCop), which allows StyleCop analysis to be run on any file, project, or solution in Visual Studio without modifying the source code. Visual Studio 2010, 2012, 2013, 2015, 2017, and 2019 are supported by this extension.
2. The [StyleCop.MSBuild NuGet package](https://www.nuget.org/packages/StyleCop.MSBuild), which allows StyleCop analysis to be added to any .NET 4.0+ project without installing anything else on the system.There is also a [ReSharper plugin](https://github.com/StyleCop/StyleCop.ReSharper) that can be added using ReSharper's Extension Manager.
## Considerations
While pull requests will continue to be accepted, it is unlikely that any major development (including support for newer C# syntax) will be done on this project. It is increasingly difficult and inefficient to maintain the custom C# parser used by StyleCop. The primary motivation for recent maintenance work was to allow developers who were already using StyleCop to upgrade to Visual Studio 2015 and C# 6.
### The Roslyn-based [StyleCopAnalyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers) project is **strongly** recommended for developers who use only Visual Studio 2015 or later.