forked from hashicorp/terraform-provider-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yml
More file actions
39 lines (34 loc) · 654 Bytes
/
Copy path.golangci.yml
File metadata and controls
39 lines (34 loc) · 654 Bytes
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
issues:
exclude-rules:
# Exclude issues bypassing staticcheck.conf
- linters:
- staticcheck
text: "SA1019:"
- linters:
- unparam
text: "always receives"
max-per-linter: 0
max-same-issues: 0
linters:
disable-all: true
enable:
- deadcode
- errcheck
- gofmt
- gosimple
- ineffassign
- makezero
- misspell
- nakedret
- staticcheck
- structcheck
- unconvert
- unused
- unparam
- varcheck
- vet
linters-settings:
errcheck:
ignore: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema:ForceNew|Set,fmt:.*,io:Close
run:
timeout: 10m