-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
.golangci.yml
84 lines (81 loc) · 1.62 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
run:
timeout: 5m
linters:
disable-all: true
enable:
- deadcode
- errcheck
- gofmt
- gosimple
- ineffassign
- misspell
- staticcheck
- structcheck
- unconvert
- unused
- varcheck
- vet
linters-settings:
errcheck:
ignore: github.com/hashicorp/terraform-plugin-sdk/helper/schema:ForceNew|Set,fmt:.*,io:Close,github.com/hashicorp/terraform-provider-google-beta/google-beta:Set
issues:
max-per-linter: 0
max-same-issues: 0
exclude-rules:
- linters:
- gosimple
text: "S1002:"
- linters:
- gosimple
text: "S1007:"
- linters:
- gosimple
text: "S1008:"
- linters:
- gosimple
text: "S1009:"
- linters:
- gosimple
text: "S1019:"
- linters:
- gosimple
text: "S1021:"
- linters:
- gosimple
text: "S1025:"
- linters:
- gosimple
text: "S1034"
- linters:
- gosimple
text: "S1039:" # new field - remove this once resolved
- linters:
- stylecheck
text: "ST1000:"
- linters:
- stylecheck
text: "ST1003:"
- linters:
- stylecheck
text: "ST1005:"
- linters:
- stylecheck
text: "ST1017:"
- linters:
- staticcheck
text: "SA1019:"
- linters:
- staticcheck
text: "SA4006:"
- linters:
- staticcheck
text: "SA4010:"
- linters:
- staticcheck
text: "SA4023" # new field - remove this once resolved
- linters:
- staticcheck
text: "SA6000:"
- linters:
- staticcheck
text: "SA6005:"