Roslyn Code Analyzers to enforce WiseTech Global coding standards and catch common mistakes.


Keywords
License
Other
Install
Install-Package WTG.Analyzers -Version 3.7.2

Documentation

WiseTech Global Analyzers

CI/CD License NuGet

Roslyn Analyzers from WiseTech Global to enforce our styles, behaviours, and prevent common mistakes.

Note for WTG staff: This repository is only for rules that are generic enough to apply to any .NET project. For rules that are specific to internal projects and frameworks, create an internal Analyzers project.

A list of rules can be found on the project wiki.

Using WTG.Analyzers

For internal .NET Framework projects, follow the existing convention for that project.

For any other project - including internal .NET Core projects, and public or personal projects - the preferred method is to add the NuGet package to your project.

Current Status

This is used in production on regular builds of our codebase, hundreds of times per day.

Names and IDs are not expected to change.