# dotnet/roslynator

Roslynator is a set of code analysis tools for C#, powered by Roslyn.

Repository: https://github.com/dotnet/roslynator
Canonical: https://ross.abutalabs.com/products/roslynator
Homepage: https://josefpihrt.github.io/docs/roslynator
Language: C#
License: NOASSERTION
License Family: other
Topics: csharp, roslyn, visual-studio, dotnet
Last push: 2026-08-21T20:18:02+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 3781, "days_push": 12, "days_rel": 12, "gap_med": 13.5, "n_releases_24m": 15}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3475, forks 292 (observed 2026-08-28T04:08:06.124369+00:00)

## What it is
Roslynator is a set of code analysis tools for C# built on the Roslyn compiler platform. It ships as IDE extensions for Visual Studio and VS Code, NuGet analyzer packages, a CLI tool, a testing framework for analyzers, and .NET libraries extending the Roslyn API.

## Use cases
- analyze C# code for style and correctness issues
- refactor C# code in Visual Studio or VS Code
- add Roslyn analyzers to a .NET project via NuGet
- run C# code analysis from the command line in CI
- unit test custom Roslyn analyzers and code fixes
- automatically fix compiler diagnostics and formatting

## When to choose
- you write C# and want hundreds of extra analyzers, refactorings, and code fixes in your IDE
- you want to enforce C# code quality rules in CI via a dotnet CLI tool
- you are developing your own Roslyn analyzers and need a testing framework

## When to avoid
- you work in a language other than C#
- you need analyzers inside VS Code with C# Dev Kit rather than legacy OmniSharp (use the NuGet packages instead)
- you want a general-purpose linter for non-.NET codebases

## Facets
- artifact type: plugin
- maturity: active
- function: linter, code-review, developer-tools, formatter, testing
- domain: developer-tools, programming-languages, text-editors, testing
- platform: windows, dotnet, editor-plugin, cli, cross-platform
- tags: csharp, roslyn, static-analysis, visual-studio-extension, vscode-extension, code-refactoring, analyzers, nuget

## Member repositories
- dotnet/roslynator (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:06.124369+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:36:32.270039+00:00, confidence not recorded.
  - readme: https://github.com/dotnet/roslynator (fetched 2026-08-28T04:08:06.124369+00:00, sha 36906a173b01)
  - homepage: https://josefpihrt.github.io/docs/roslynator (fetched 2026-08-29T09:30:30.130996+00:00, sha b617cddedb86)
- Data as of 2026-08-30T08:39:29.467469+00:00.
