-
Notifications
You must be signed in to change notification settings - Fork 227
/
.golangci.yml
66 lines (63 loc) · 1.27 KB
/
.golangci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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