# reviewdog/reviewdog

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/reviewdog-reviewdog).**

9,089 stars · 477 forks · Go · mit

## Links

- GitHub: https://github.com/reviewdog/reviewdog
- Homepage: https://medium.com/@haya14busa/reviewdog-a-code-review-dog-who-keeps-your-codebase-healthy-d957c471938b#.8xctbaw5u
- awesome-repositories: https://awesome-repositories.com/repository/reviewdog-reviewdog.md

## Topics

`bitbucket` `ci` `cli` `code-quality` `code-review` `codereview` `github` `gitlab` `go` `lint` `linter` `static-analysis` `static-code-analysis`

## Description

Reviewdog is a linter result posting tool and a diff-aware static analysis filter. It parses the output of various linters and posts findings as comments on pull requests within code hosting platforms. It also functions as a quality gate for CI pipelines, failing builds when findings exceed specified severity thresholds.

The project distinguishes itself by isolating static analysis issues to only those introduced within the current git code diff, preventing the reporting of legacy errors. It unifies tool findings by processing industry-standard SARIF and XML diagnostic formats alongside custom regular expression patterns.

The system covers linter output standardization, automated code review, and CI/CD quality gates. It supports suggesting code changes and managing execution settings through YAML configuration files.

## Tags

### Part of an Awesome List

- [Diff-Aware Result Filtering](https://awesome-repositories.com/f/awesome-lists/devtools/diff/diff-aware-result-filtering.md) — Compares diagnostic line numbers against the git patch diff to report only errors introduced in the current change.

### Development Tools & Productivity

- [Static Analysis Filtering](https://awesome-repositories.com/f/development-tools-productivity/project-scaffolding-config-code-generation/code-generation/llm-driven/diff-based-edit-application/diff-based-change-isolation/static-analysis-filtering.md) — Isolates static analysis issues to only those introduced in the current git diff to avoid reporting legacy errors. ([source](https://godoc.org/github.com/reviewdog/reviewdog))
- [Linter Result Posters](https://awesome-repositories.com/f/development-tools-productivity/code-linters/linter-result-posters.md) — Parses linter output and posts findings as automated review comments on pull requests in code hosting platforms.
- [Automated PR Commenting](https://awesome-repositories.com/f/development-tools-productivity/developer-utilities-libraries/developer-tools/version-control-ecosystems/github-integrations/automated-pull-request-reviewers/automated-pr-commenting.md) — Sends tool diagnostics to code hosting services as review comments by filtering output to report only issues within the patch diff. ([source](https://cdn.jsdelivr.net/gh/reviewdog/reviewdog@master/README.md))
- [Hosting Provider API Integrations](https://awesome-repositories.com/f/development-tools-productivity/hosting-provider-api-integrations.md) — Integrates with code hosting platforms via APIs to post findings as pull request comments and commit annotations. ([source](https://cdn.jsdelivr.net/gh/reviewdog/reviewdog@master/README.md))
- [Regex-Based Output Parsing](https://awesome-repositories.com/f/development-tools-productivity/regex-based-output-parsing.md) — Transforms unstructured tool text into structured diagnostics using custom regular expression patterns and pre-defined templates.
- [Automated Code Fix Suggestions](https://awesome-repositories.com/f/development-tools-productivity/automated-code-fix-suggestions.md) — Provides specific code replacement suggestions by integrating with formatters or automated fixing tools alongside diagnostic results. ([source](https://cdn.jsdelivr.net/gh/reviewdog/reviewdog@master/README.md))
- [Exit Status Signaling](https://awesome-repositories.com/f/development-tools-productivity/exit-status-reporters/exit-status-signaling.md) — Fails a build pipeline by returning a non-zero exit code when findings meet or exceed a specified severity level. ([source](https://godoc.org/github.com/reviewdog/reviewdog))
- [Code Hosting API Integrations](https://awesome-repositories.com/f/development-tools-productivity/rest-apis/code-hosting-api-integrations.md) — Transmits processed diagnostics to remote code hosting platforms using their respective REST APIs for pull request annotations.

### Artificial Intelligence & ML

- [Linter Output Parsing](https://awesome-repositories.com/f/artificial-intelligence-ml/tool-calling-integration-frameworks/tool-output-processors/linter-output-parsing.md) — Convert raw compiler or linter text into a structured format using custom patterns or pre-defined templates. ([source](https://godoc.org/github.com/reviewdog/reviewdog))

### Data & Databases

- [Diagnostic](https://awesome-repositories.com/f/data-databases/data-ingestion/diagnostic.md) — Processes Static Analysis Results Interchange Format files to normalize findings from multiple tools into a single internal representation.

### DevOps & Infrastructure

- [Quality Controls](https://awesome-repositories.com/f/devops-infrastructure/ci-cd-best-practices/quality-controls.md) — Implements quality gates by failing CI pipeline builds when linter findings exceed defined severity thresholds.
- [Quality Gates](https://awesome-repositories.com/f/devops-infrastructure/continuous-integration/quality-gates.md) — Acts as an automated validation mechanism that enforces linter severity thresholds during the build process.

### Software Engineering & Architecture

- [Diagnostic Reporting Formats](https://awesome-repositories.com/f/software-engineering-architecture/diagnostic-reporting-formats.md) — Processes industry-standard data formats like SARIF and XML to ingest tool findings into a unified data structure. ([source](https://godoc.org/github.com/reviewdog/reviewdog))

### Testing & Quality Assurance

- [Assertion Diff Visualizers](https://awesome-repositories.com/f/testing-quality-assurance/assertion-diff-visualizers.md) — Restrict reported issues to only those found in changed lines, modified files, or a specified context around the diff. ([source](https://cdn.jsdelivr.net/gh/reviewdog/reviewdog@master/README.md))
- [Automated Code Review](https://awesome-repositories.com/f/testing-quality-assurance/code-quality-review/automated-code-review.md) — Integrates linters into pull requests to post automated feedback and suggestions directly on changed lines of code.
- [SARIF Integrations](https://awesome-repositories.com/f/testing-quality-assurance/code-quality-review/sarif-integrations.md) — Processes industry-standard SARIF and XML files to unify tool findings for automated reporting in code reviews.

### System Administration & Monitoring

- [Linter Exit Code Thresholds](https://awesome-repositories.com/f/system-administration-monitoring/audit-log-filters/severity-level-filtering/linter-exit-code-thresholds.md) — Translates the count and level of detected findings into a process exit code to signal build pipeline failure.
