-
Notifications
You must be signed in to change notification settings - Fork 299
/
Copy path.golangci.yml
53 lines (53 loc) · 1010 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
version: "2"
linters:
enable:
- gocyclo
- godot
- nakedret
- revive
settings:
gocyclo:
min-complexity: 10
godot:
exclude:
- (?i)^\s*todo
period: true
exclusions:
generated: lax
presets:
- common-false-positives
- std-error-handling
paths:
- zz_generated.*\.go$
- .*/mocks
- manager/tilt_modules
- internal/aws-sdk-go-v2
- pkg/providers/snow/api/v1beta1
- third_party$
- builtin$
- examples$
issues:
max-issues-per-linter: 0
max-same-issues: 0
formatters:
enable:
- gci
- gofumpt
settings:
gci:
sections:
- standard
- default
- prefix(github.com/aws/eks-anywhere)
custom-order: true
exclusions:
generated: lax
paths:
- zz_generated.*\.go$
- .*/mocks
- manager/tilt_modules
- internal/aws-sdk-go-v2
- pkg/providers/snow/api/v1beta1
- third_party$
- builtin$
- examples$