mirror of
https://github.com/git-pkgs/proxy.git
synced 2026-11-10 08:09:17 -05:00
32 lines
465 B
YAML
32 lines
465 B
YAML
version: "2"
|
|
|
|
linters:
|
|
enable:
|
|
- gocritic
|
|
- gocognit
|
|
- gocyclo
|
|
- maintidx
|
|
- dupl
|
|
- mnd
|
|
- unparam
|
|
- ireturn
|
|
- goconst
|
|
- errcheck
|
|
settings:
|
|
goconst:
|
|
min-len: 4
|
|
min-occurrences: 5
|
|
ignore-tests: true
|
|
ignore-string-values:
|
|
- "^[a-z]+$"
|
|
exclusions:
|
|
rules:
|
|
- path: _test\.go
|
|
linters:
|
|
- goconst
|
|
- dupl
|
|
- mnd
|
|
|
|
formatters:
|
|
enable:
|
|
- gofmt
|