blob: d83b341baad0366b3c45f3d60cd6aed2471d6173 [file] [log] [blame]
# ref: https://golangci-lint.run/usage/configuration/#config-file
linters:
enable:
- gci
- stylecheck
# all available settings of specific linters
linters-settings:
gci:
# put imports beginning with prefix after 3rd-party packages;
# only support one prefix
# if not set, use goimports.local-prefixes
local-prefixes: go.chromium.org/luci
issues:
# Independently from option `exclude` we use default exclude patterns,
# it can be disabled by this option. To list all
# excluded by default patterns execute `golangci-lint run --help`.
# Default value for this option is true.
exclude-use-default: false
# 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