-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy path.golangci.yaml
More file actions
40 lines (40 loc) · 878 Bytes
/
.golangci.yaml
File metadata and controls
40 lines (40 loc) · 878 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
40
version: "2"
linters:
settings:
staticcheck:
checks:
- all
## We will occasionally need to dual import a package, so disable this check
- '-ST1019'
## I'm not fixing this for now but it should be fixed
## TODO: remove this when we have a better solution
- '-ST1003'
## This is kind of a TF thing and we want the clarity of the resource initial
- '-ST1016'
enable:
- nilerr
- nilnil
- nolintlint
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
issues:
max-issues-per-linter: 0
max-same-issues: 0
formatters:
enable:
- gofmt
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$