1
1
mirror of https://github.com/wader/fq.git synced 2024-12-11 07:23:09 +03:00
fq/.golangci.yml
2022-01-25 17:23:41 +01:00

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