blob: 80c686b62cc66a6484aab2c8d4ad971fc5dec45a [file] [log] [blame] [edit]
# This file is autogenerated! Do not modify manually.
# Generated by regen_golangci_config.py based on golangci/project.yaml template.
version: "2"
# ref: https://golangci-lint.run/usage/configuration/#config-file
linters:
enable:
- copyloopvar
disable:
- errcheck
- errorlint
- govet
- ineffassign
- intrange
- 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/linters/#gci
gci:
# Reorder import sections based on how they are ordered in `sections`.
custom-order: true
sections:
# All standard packages.
- standard
# All packages that didn't fit other categories, usually third party.
- default
# All other luci-go imports.
- prefix(go.chromium.org/luci)
# Imports from the local package tree.
- prefix(go.chromium.org/luci/cipd)
# All blank (import "_" ...) imports.
- blank
# All dot (import ".' ...") imports.
- dot
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$