1
1
mirror of https://github.com/wader/fq.git synced 2024-10-04 23:48:00 +03:00
fq/.golangci.yml
Mattias Wadman d1943dad49 pcapng,fuzz: Fix infinite loop by fatal error on block length <= 0
Also add dev/fuzzbytes.go tool to convert fuzz input to raw bytes
2022-01-23 13:34:56 +01:00

44 lines
689 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
gosec:
excludes:
# allow md5
- G401
- G501
issues:
exclude-rules:
- path: dev/.*\.go
linters:
# ignore main re-declared errors
- typecheck