1
1
mirror of https://github.com/wader/fq.git synced 2024-11-29 23:27:12 +03:00
fq/.golangci.yml

65 lines
1.3 KiB
YAML
Raw Normal View History

2020-06-08 03:29:51 +03:00
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
2024-04-01 19:24:41 +03:00
- staticcheck
- govet
2020-06-08 03:29:51 +03:00
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
2024-04-01 19:24:41 +03:00
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