mirror of
https://github.com/wader/fq.git
synced 2024-11-30 09:58:13 +03:00
0b6ef2a9d8
unused-parameter disabled as i prefer to see the names new default revive config seems to not warn about capital names
53 lines
1.0 KiB
YAML
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
|