1
1
mirror of https://github.com/wader/fq.git synced 2024-10-03 23:17:50 +03:00
fq/.golangci.yml
bump f9dff5c65d Update github-golangci-lint to 1.60.2 from 1.60.1
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.60.2

Skip some gosec rules as they give too many false positives
2024-08-21 19:00:27 +02:00

65 lines
1.3 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
- G115
- G406
- G506
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