mirror of
https://github.com/wader/fq.git
synced 2024-08-17 07:50:29 +03:00
62 lines
1.2 KiB
YAML
62 lines
1.2 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
|
|
- staticcheck
|
|
- govet
|
|
|
|
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
|
|
govet:
|
|
enable-all: true
|
|
disable:
|
|
- fieldalignment
|
|
- shadow
|
|
staticcheck:
|
|
checks: ["all"]
|
|
|
|
run:
|
|
timeout: 5m
|
|
skip-dirs:
|
|
# allow md5
|
|
- dev
|
|
- doc
|
|
# ignore warnings in code from crypto/tls and zmap/zcrypto
|
|
- format/tls/tlsdecrypt
|