-
Notifications
You must be signed in to change notification settings - Fork 13
/
.golangci.yml
57 lines (53 loc) · 992 Bytes
/
.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
run:
allow-parallel-runners: true
output:
print-issued-lines: true
print-linter-name: true
sort-results: true
linters:
enable-all: true
disable:
- gochecknoglobals
- nonamedreturns
- testpackage
- exhaustruct
- tagliatelle
- exhaustruct
- inamedparam
- exhaustive
- varnamelen
- intrange
- depguard
- ireturn
- gofumpt
- gci
linters-settings:
errcheck:
check-type-assertions: true
govet:
enable-all: true
cyclop:
max-complexity: 15
gocritic:
enabled-tags:
- performance
- opinionated
- diagnostic
- style
issues:
exclude-rules:
- path: internal/client/http.go
text: "G402" # G402: TLS InsecureSkipVerify set true.
linters:
- gosec
- path: ._test\.go
linters:
- canonicalheader
- dupword
- ifshort
- cyclop
- funlen
- dupl
- path: cmd/crawley/main.go
linters:
- nakedret