Which linters are you using for CI environments?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/csharp

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • format

    Home for the dotnet-format command

    - dotnet format but this is not a linter I think?

  • StyleCopAnalyzers

    An implementation of StyleCop rules using the .NET Compiler Platform

    - StyleCopAnalyzers but I wasn't able to find an official CLI tool?

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • code-butler

    Code Butler is a command line tool and VS code extension for your C# files at your service. This tool is heavily inspired by CodeMaid. As it is not available as as a stand-alone version nor as a Visual Studio Code extension, this tool will provide similar features.

  • CodeMaid

    CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.

  • Roslynator

    A collection of 500+ analyzers, refactorings and fixes for C#, powered by Roslyn.

  • csharpier

    CSharpier is an opinionated code formatter for c#.

    If you are looking for a way to enforce consistent formatting then I'd suggest https://github.com/belav/csharpier, but I am biased since I am the creator. It is opinionated like prettier (which is what it is based on). It is easy to run as a github action to check that files are formatted. It also has plugins for all the major IDEs or can be run as part of the build.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • dotnet-apiport

    This repo contains .NET Portability Analyzer (VSIX and Console) libraries and tools

    https://github.com/microsoft/dotnet-apiport for portability issues

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts