qmetrics.net

Reviewdog

CLI bridge from linters to code review comments

Reviewdog runs static analyzers and linters, filters findings to the current diff, and posts them as review comments on GitHub, GitLab, Bitbucket, and other hosts. It also works locally on the command line.

Overview

Reviewdog is a command-line tool that turns linter and compiler diagnostics into review feedback on code hosting platforms. It reads tool output, keeps only issues that touch changed lines in a patch, and sends the rest to the appropriate reporter integration.

Input parsing supports Vim-style errorformat strings, bundled presets for common tools, the Reviewdog Diagnostic Format, unified diff for suggestions, checkstyle XML, and SARIF JSON. A YAML project config can define multiple tools so the same commands run in CI and on a developer machine.

Reporters cover local terminal output, GitHub Checks and pull request reviews, GitHub Actions annotations, GitLab merge request discussions and commits, Gerrit changes, and Bitbucket Code Insights. Some reporters accept code suggestions when diagnostics include patch data. Filter modes control whether results are limited to added lines, whole files, or the entire tree.

Install options include Homebrew, Linuxbrew, Scoop on Windows, Go install, nightly builds, and a setup GitHub Action. The tool is analyzer-agnostic because it does not embed rules; any CLI that prints parseable diagnostics can participate.

Key features

  • Linter output to review comments
  • Diff-scoped finding filters
  • errorformat and SARIF parsing
  • YAML multi-tool configuration
  • GitHub, GitLab, and Bitbucket reporters
  • Code suggestion support on select hosts
  • Local and CI execution
  • Predefined formats for major linters

Use cases

  • CI lint feedback on pull requests
  • Local pre-commit diff filtering
  • Unified linter reporting in monorepos
  • GitHub Checks status from analyzers
  • Posting formatter diffs as suggestions

Tags

Similar software

ShellCheck

Static analysis and linting for Bash shell scripts

ShellCheck scans bash and POSIX shell scripts for syntax, semantic, and portability problems. It is available as a CLI tool, editor integration, web paste interface, and CI hook.

★ 40.4k⟳ todayGPL-3.0

Mypy

Optional static type checker for Python

Mypy checks Python programs against PEP 484 type hints before you run them. It supports gradual typing so you can add annotations over time.

★ 20.7k⟳ todayMIT · open core

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.

★ 16.5k⟳ 2 days agoMIT

React Doctor

CLI static analysis for React code quality

React Doctor scans React projects for correctness, performance, security, accessibility, and maintainability issues. Run it locally, in CI, or as an agent skill.

★ 15.2k⟳ 11 days agoMIT

Ajv

JSON Schema and JSON Type Definition validator for JavaScript

Ajv compiles JSON Schemas into validation functions for Node.js and browsers. It supports multiple JSON Schema drafts and JSON Type Definition (RFC 8927).

★ 14.9k⟳ 7 months agoMIT

Why Did You Render

React and React Native avoidable re-render diagnostics

Welldone Software’s library monkey-patches React in development to log when components render and why. It highlights redundant updates and works with React Native.

★ 12.5k⟳ 1 year agoMIT