-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.golangci.yml
86 lines (84 loc) · 1.73 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
run:
# timeout for analysis, e.g. 30s, 5m, default is 1m
timeout: 10m
linters:
enable:
- bodyclose
- rowserrcheck
- gosec
- unconvert
- goconst
- gocyclo
- gofmt
- gocognit
- goimports
- maligned
- misspell
- unparam
- dogsled
- nakedret
- scopelint
- gocritic
- goprintffuncname
- gomnd
- lll
- whitespace
- wsl
- funlen
# TODO turn this on later
# - dupl
# - gochecknoglobals
# - prealloc
# - godox
issues:
exclude-rules:
- path: cmd/controller/controller.go
linters:
- funlen
- path: internal/clients/kuber/deployment.go
linters:
- lll
- path: internal/domain_logic/containers.go
linters:
- lll
- path: internal/domain_logic/sqladmin.go
linters:
- lll
- funlen
- path: internal/domain_logic/deployment.go
linters:
- lll
- funlen
- path: internal/repo/deployments.go
linters:
- lll
- path: internal/clients/kube_config.go
linters:
- lll
- path: internal/clients/googleapis/client.go
linters:
- lll
- path: internal/clients/kuber/service.go
linters:
- lll
- path: internal/domain_logic/logic.go
linters:
- lll
- path: internal/http/routes.go
linters:
- lll
- path: internal/domain_logic/checks.go
linters:
- funlen
- path: internal/domain_logic/domain_names.go
linters:
- funlen
- path: internal/domain_logic/network_builders.go
linters:
- funlen
- path: internal/clients/kuber/deployment.go
linters:
- funlen
- path: main.go
linters:
- funlen