blob: 67bd831879746539c34a4eba529a9a55d09f207b [file]
# This file is autogenerated! Do not modify manually.
# Generated by regen_golangci_config.py based on golangci/library.yaml template.
version: "2"
# ref: https://golangci-lint.run/usage/configuration/#config-file
linters:
enable:
- copyloopvar
- ineffassign
- whitespace
disable:
- intrange
- errcheck
- errorlint
- govet
- noctx
- staticcheck
- unused
issues:
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
max-issues-per-linter: 0
# Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
max-same-issues: 0
formatters:
enable:
- gci
settings:
# https://golangci-lint.run/usage/formatters/#gci
gci:
custom-order: true
sections:
# All standard packages.
- standard
# All packages that didn't fit other categories, usually third party.
- default
# All Chromium imports (including luci-go).
- prefix(go.chromium.org)
# All blank (import "_" ...) imports.
- blank
# All dot (import ".' ...") imports.
- dot
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$