mirror of
https://github.com/wader/fq.git
synced 2024-12-23 13:22:58 +03:00
46 lines
742 B
YAML
46 lines
742 B
YAML
linters:
|
|
enable:
|
|
- revive
|
|
- errname
|
|
- goimports
|
|
- nilerr
|
|
- forcetypeassert
|
|
- asciicheck
|
|
- bodyclose
|
|
- durationcheck
|
|
- errorlint
|
|
- noctx
|
|
- misspell
|
|
- exportloopref
|
|
- unconvert
|
|
- unparam
|
|
- wastedassign
|
|
- makezero
|
|
- exhaustive
|
|
- gosec
|
|
- nolintlint
|
|
- nakedret
|
|
- predeclared
|
|
- tagliatelle
|
|
|
|
linters-settings:
|
|
misspell:
|
|
ignore-words:
|
|
# elf RELA
|
|
- rela
|
|
- equalisation
|
|
- synchronisation
|
|
exhaustive:
|
|
default-signifies-exhaustive: true
|
|
gosec:
|
|
excludes:
|
|
# allow md5
|
|
- G401
|
|
- G501
|
|
issues:
|
|
exclude-rules:
|
|
- path: dev/.*\.go
|
|
linters:
|
|
# ignore main re-declared errors
|
|
- typecheck
|