Skip to content

An implementation of StyleCop rules using the .NET Compiler Platform

License

Notifications You must be signed in to change notification settings

codeflo/StyleCopAnalyzers

This branch is 2086 commits behind DotNetAnalyzers/StyleCopAnalyzers:master.

Folders and files

NameName
Last commit message
Last commit date
Dec 28, 2015
Jan 30, 2016
Jan 2, 2016
Jan 14, 2016
Dec 1, 2014
Dec 28, 2015
Apr 7, 2015
Jun 22, 2015
Sep 16, 2015
Dec 3, 2015
Jan 8, 2016
Dec 27, 2015

Repository files navigation

StyleCop Analyzers for the .NET Compiler Platform

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

Build status

codecov.io

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.

The severity of individual rules may be configured using rule set files in Visual Studio 2015. Settings.StyleCop is not supported, but a stylecop.json file may be used to customize the behavior of certain rules. See Configuration.md for more information.

For users upgrading from StyleCop Classic, see KnownChanges.md for information about known differences which you may notice when switching to StyleCop Analyzers.

Installation

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

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 list of which StyleCop rules are implemented and which have code fixes can be found here.

Source browser

The up-to-date source code can be browsed here.

About

An implementation of StyleCop rules using the .NET Compiler Platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.3%
  • PowerShell 0.7%