qmetrics.net

Roslynator

Roslyn-powered C# analyzers, refactorings, and CLI tools

Roslynator screenshot

Roslynator bundles C# code analyzers, IDE refactorings, a dotnet CLI, testing helpers, and client libraries built on Microsoft Roslyn. Diagnostics ship primarily via NuGet packages.

Overview

Roslynator is a family of code analysis tools for C# that sit on top of the Roslyn compiler platform. NuGet packages such as Roslynator.Analyzers, Roslynator.CodeAnalysis.Analyzers, and Roslynator.Formatting.Analyzers provide diagnostic rules in builds; IDE extensions supply refactorings and compiler diagnostic fixes but not the full analyzer set unless packages are referenced.

Visual Studio and Visual Studio Code extensions target recent editor versions. VS Code integration expects legacy OmniSharp unless you rely on NuGet analyzers with C# Dev Kit. A global dotnet tool installs the Roslynator CLI for command-line analysis and fixes, and the CLI is also documented within MegaLinter for CI pipelines.

Roslynator.Testing supports unit tests for custom analyzers, refactorings, and code fixes. Separate client libraries extend Roslyn APIs for authors building their own rules without shipping built-in analyzers in those packages.

The project is community-maintained with contribution guides, open issues, and support from the .NET Foundation. Documentation covers configuration, CLI usage, testing patterns, and API reference for library consumers.

Key features

  • NuGet analyzer rule packages
  • IDE refactorings and code fixes
  • Global dotnet CLI tool
  • Analyzer unit-test framework
  • Roslyn-extending client libraries
  • VS and VS Code extensions
  • CI integration via MegaLinter
  • Configurable rule sets

Use cases

  • Enforcing C# style and correctness in builds
  • IDE-assisted refactorings during development
  • Linting C# in continuous integration
  • Authoring and testing custom Roslyn rules
  • Extending Roslyn for in-house analyzers

Tags

Similar software

Prettier

Opinionated multi-language code formatter

Prettier enforces consistent style by parsing code and reprinting it with fixed rules and line wrapping. It supports many web and data languages.

  • AST-based consistent reprinting
  • Wide language and plugin support
  • Editor and CI integration
JavaScriptDetails →
★ 52.5k⟳ yesterdayMIT

Oxc

Rust-based JavaScript and TypeScript compiler toolkit

Oxc bundles a parser, linter, formatter, transformer, resolver, and minifier for JavaScript and TypeScript. Oxlint and Oxfmt run via npx for everyday lint and format tasks.

  • Oxlint ESLint-compatible linter
  • Oxfmt Prettier-compatible formatter
  • JavaScript and TypeScript parser
RustLinux, macOSDetails →
★ 23.8k⟳ todayMIT

PHP Parser

PHP library for parsing and manipulating PHP ASTs

A PHP package that parses PHP source into an abstract syntax tree for analysis and code transformation. It targets static analysis and programmatic rewriting workflows.

  • PHP 7 and 8 AST parsing
  • Partial parse on invalid code
  • AST dump and pretty-print
PHPDetails →
★ 17.5k⟳ 5 days agoBSD-3-Clause

typescript-eslint

ESLint tooling for linting TypeScript codebases

typescript-eslint connects ESLint to TypeScript syntax and ships parser services plus lint rules. It enables standard and type-aware linting for JavaScript and TypeScript projects.

  • TypeScript parser for ESLint
  • Parser services for other tools
  • Large standard rule catalog
TypeScriptDetails →
★ 16.5k⟳ todayMIT

laravel-ide-helper

Laravel IDE helper and PHPDoc generator package

A Composer package for Laravel apps that builds helper files and PHPDoc so IDEs can autocomplete facades, models, fluent APIs, and container bindings from your project source.

  • Facade PHPDoc via ide-helper:generate
  • Model property docs from database schema
  • PhpStorm meta for container bindings
PHPDetails →
★ 15k⟳ 1 month agoMIT

quicktype

Type and serializer generator from JSON, Schema, and GraphQL

Quicktype infers strongly typed models and serializers from JSON samples, JSON Schema, TypeScript, or GraphQL. Output targets many programming languages via the web app, CLI, or JavaScript API.

  • JSON and JSON Schema inputs
  • GraphQL and TypeScript sources
  • Twenty-five plus target languages
TypeScriptWeb, macOS, Windows, CLIDetails →
★ 13.9k⟳ 2 months agoApache-2.0