1
1
mirror of https://github.com/wader/fq.git synced 2024-12-18 19:01:34 +03:00
fq/.golangci.yml
Mattias Wadman 0b6ef2a9d8 golangci-lint: Disable revive unused-parameter and update for new default config
unused-parameter disabled as i prefer to see the names
new default revive config seems to not warn about capital names
2023-03-18 22:56:58 +01:00

53 lines
1.0 KiB
YAML

linters:
enable:
- asciicheck
- bodyclose
- durationcheck
- errname
- errorlint
- exhaustive
- exportloopref
- forcetypeassert
- goimports
- gosec
- makezero
- misspell
- nakedret
- nilerr
- noctx
- nolintlint
- nosprintfhostport
- predeclared
- revive
- tagliatelle
- unconvert
- unparam
- wastedassign
linters-settings:
revive:
rules:
- name: unused-parameter
disabled: true
exhaustive:
default-signifies-exhaustive: true
gosec:
excludes:
- G401
- G501
misspell:
ignore-words:
# elf RELA
- rela
- equalisation
- synchronisation
run:
timeout: 5m
skip-dirs:
# allow md5
- dev
- doc
# ignore warnings in code from crypto/tls and zmap/zcrypto
- format/tls/tlsdecrypt