mirror of
https://github.com/makew0rld/amfora.git
synced 2024-11-27 13:14:14 +03:00
43 lines
673 B
YAML
43 lines
673 B
YAML
linters:
|
|
fast: false
|
|
disable-all: true
|
|
enable:
|
|
- deadcode
|
|
- errcheck
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- structcheck
|
|
- typecheck
|
|
- unused
|
|
- varcheck
|
|
- dupl
|
|
- exhaustive
|
|
- exportloopref
|
|
- gocritic
|
|
- goerr113
|
|
- gofmt
|
|
- goimports
|
|
- revive
|
|
- goprintffuncname
|
|
- lll
|
|
- misspell
|
|
- nolintlint
|
|
- prealloc
|
|
- exportloopref
|
|
- unconvert
|
|
- unparam
|
|
|
|
issues:
|
|
exclude-use-default: true
|
|
max-issues-per-linter: 0
|
|
|
|
linters-settings:
|
|
gocritic:
|
|
disabled-checks:
|
|
- ifElseChain
|
|
goconst:
|
|
# minimal length of string constant, 3 by default
|
|
min-len: 5
|