Skip to content

An implementation of StyleCop rules using the .NET Compiler Platform

License

Notifications You must be signed in to change notification settings

nukefusion/StyleCopAnalyzers

 
 

Repository files navigation

StyleCop Analyzers for the .NET Compiler Platform

Join the chat at https://gitter.im/DotNetAnalyzers/StyleCopAnalyzers

Build status

This repository contains an implementation of the StyleCop rules using the .NET Compiler Platform. Where possible, code fixes are also provided to simplify the process of correcting violations.

Using StyleCop.Analyzers

The preferable way to use the analyzers is to add the nuget package StyleCop.Analyzers to the project where you want to enforce StyleCop rules.

Currently the only way to configure the rules is to change the severity for them in a ruleset file.

Installation

StyleCopAnalyzers can be installed using the NuGet Package Manager in Visual Studio 2015 RC.

Install via nuget

Team Considerations

If you use older versions of Visual Studio in addition to Visual Studio 2015, you may still install these analyzers. They will be automatically disabled when you open the project back up in Visual Studio 2013 or earlier.

Contributing

See Contributing

Current status

An up-to-date overview of the status can be found here.

About

An implementation of StyleCop rules using the .NET Compiler Platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.1%
  • PowerShell 0.9%