Skip to content

Faithlife/FaithlifeAnalyzers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Faithlife.Analyzers

Roslyn-based C# code analyzers used on Faithlife source code.

Build NuGet

Analyzer Documentation | Release Notes

How to Use

Use PackageReference in your .csproj:

  <ItemGroup>
    <PackageReference Include="Faithlife.Analyzers" Version="1.2.0" PrivateAssets="All" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
  </ItemGroup>

To disable a particular analzyer, add a line to your .editorconfig under [*.cs]. For example:

[*.cs]
dotnet_diagnostic.FL0009.severity = none

How to Help

  • Improve the documentation on the wiki, especially by adding rationale for rules or instructions for how to choose between multiple fixes.
  • Suggest new analyzers by opening an issue. Please add the new analyzer label.
  • Vote for analyzers you would find particularly helpful by adding a 👍 reaction.
  • Implement a new analyzer from this list of the most popular.