mirror of
https://github.com/makeworld-the-better-one/amfora.git
synced 2024-11-26 10:15:13 +03:00
47 lines
730 B
YAML
47 lines
730 B
YAML
linters:
|
|
fast: false
|
|
disable-all: true
|
|
enable:
|
|
- deadcode
|
|
- errcheck
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- staticcheck
|
|
- structcheck
|
|
- typecheck
|
|
- unused
|
|
- varcheck
|
|
- dupl
|
|
- exhaustive
|
|
- exportloopref
|
|
- goconst
|
|
- 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
|
|
goconst:
|
|
# minimal length of string constant, 3 by default
|
|
min-len: 5
|