Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 846 Bytes

golangci-lint.md

File metadata and controls

34 lines (23 loc) · 846 Bytes
title sidebar_label description
golangci-lint
golangci-lint
CodeRabbit's guide to golangci-lint.
import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx';

<ProPlanNotice />

golangci-lint is a fast Go linters runner.

Files

golangci-lint will run on files with the following extensions:

  • .go
  • go.mod

Configuration

golangci-lint supports the following config files:

  • User-defined config file set at reviews.tools.golangci-lint.config_file in your project's .coderabbit.yaml file or setting the "Review → Tools → golangci-lint → Config File" field in CodeRabbit's settings page.
  • .golangci.yml
  • .golangci.yaml
  • .golangci.toml
  • .golangci.json

Links