mirror of
https://github.com/wader/fq.git
synced 2024-11-22 15:45:45 +03:00
67 lines
1.3 KiB
YAML
67 lines
1.3 KiB
YAML
linters:
|
|
enable:
|
|
- asciicheck
|
|
- bodyclose
|
|
- durationcheck
|
|
- errname
|
|
- errorlint
|
|
- exhaustive
|
|
- forcetypeassert
|
|
- goimports
|
|
- gosec
|
|
- makezero
|
|
- misspell
|
|
- nakedret
|
|
- nilerr
|
|
- noctx
|
|
- nolintlint
|
|
- nosprintfhostport
|
|
- predeclared
|
|
- revive
|
|
- tagliatelle
|
|
- unconvert
|
|
- unparam
|
|
- wastedassign
|
|
- staticcheck
|
|
- govet
|
|
- copyloopvar
|
|
|
|
linters-settings:
|
|
revive:
|
|
rules:
|
|
- name: unused-parameter
|
|
disabled: true
|
|
exhaustive:
|
|
default-signifies-exhaustive: true
|
|
gosec:
|
|
excludes:
|
|
- G401
|
|
- G501
|
|
- G115
|
|
- G406
|
|
- G506
|
|
misspell:
|
|
ignore-words:
|
|
# elf RELA
|
|
- rela
|
|
- equalisation
|
|
- synchronisation
|
|
govet:
|
|
enable-all: true
|
|
disable:
|
|
- fieldalignment
|
|
- shadow
|
|
staticcheck:
|
|
checks: ["all"]
|
|
|
|
issues:
|
|
exclude-dirs:
|
|
# allow md5
|
|
- dev
|
|
- doc
|
|
# ignore warnings in code from crypto/tls and zmap/zcrypto
|
|
- format/tls/tlsdecrypt
|
|
|
|
run:
|
|
timeout: 5m
|