Files
coredns/.golangci.yml

39 lines
619 B
YAML
Raw Normal View History

version: "2"
2022-07-10 20:06:33 +02:00
linters:
default: none
2022-07-10 20:06:33 +02:00
enable:
- canonicalheader
- copyloopvar
2022-07-10 20:06:33 +02:00
- govet
- ineffassign
- intrange
2025-05-29 07:19:04 +03:00
- nolintlint
- protogetter
2022-07-10 20:06:33 +02:00
- staticcheck
- thelper
- unconvert
- unused
- usetesting
- wastedassign
- whitespace
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofmt
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$