1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-12-04 14:46:29 -05:00
amfora/.golangci.yml

46 lines
716 B
YAML
Raw Normal View History

linters:
fast: false
disable-all: true
enable:
- deadcode
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- dupl
- exhaustive
- exportloopref
- gocritic
- goerr113
- gofmt
- goimports
- golint
- goprintffuncname
- interfacer
- lll
- maligned
- misspell
- nakedret
- nolintlint
- prealloc
- scopelint
- unconvert
- unparam
issues:
exclude-use-default: true
max-issues-per-linter: 0
linters-settings:
gocritic:
disabled-checks:
- ifElseChain
2020-09-01 16:30:06 -04:00
goconst:
# minimal length of string constant, 3 by default
min-len: 5