-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.golangci.yml
58 lines (54 loc) · 946 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
58
run:
timeout: 5m
issues:
exclude:
- Using the variable on range scope `tt` in function literal
exclude-rules:
- path: _test\.go
linters:
- dupl
linters:
enable:
- bodyclose
- depguard
- dogsled
- dupl
- errcheck
- exportloopref
- gochecknoglobals
- gochecknoinits
- gocognit
- goconst
- gocritic
- gocyclo
- godox
- gofmt
- goimports
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
- lll
- misspell
- nakedret
- prealloc
- revive
- rowserrcheck
- staticcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- whitespace
- wsl
linters-settings:
depguard:
rules:
Main:
allow:
- '$gostd'
- 'github.com/cloudflare/cloudflare-go'
- 'github.com/urfave/cli/v2'
- 'github.com/utopia-planitia/dnslb/pkg'