1
1
mirror of https://github.com/wader/fq.git synced 2024-11-23 09:56:07 +03:00
fq/.golangci.yml
2022-03-08 18:20:18 +01:00

45 lines
657 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
run:
skip-dirs:
- dev
- doc
linters-settings:
misspell:
ignore-words:
# elf RELA
- rela
- equalisation
- synchronisation
exhaustive:
default-signifies-exhaustive: true
gosec:
excludes:
# allow md5
- G401
- G501