-
Notifications
You must be signed in to change notification settings - Fork 330
/
Copy path.golangci.yml
53 lines (53 loc) · 1.43 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
run:
timeout: 10m
allow-parallel-runners: true
output:
sort-results: true
severity:
default-severity: error
issues:
exclude-rules:
- linters:
- staticcheck
text: "SA1019: src.Spec.NodeCount is deprecated: Use Replicas instead. NodeCount will be dropped in the next api release"
- linters:
- staticcheck
text: "SA1019: in.Spec.NodeCount is deprecated: Use Replicas instead. NodeCount will be dropped in the next api release."
- linters:
- staticcheck
text: "SA1019: hcp.Status.Version is deprecated: Use versionStatus.desired.version instead."
- linters:
- staticcheck
text: "SA1019: hcp.Status.ReleaseImage is deprecated: Use versionStatus.desired.image instead."
- linters:
- staticcheck
text: "SA1019: hcp.Status.LastReleaseImageTransitionTime is deprecated"
- linters:
- staticcheck
text: "SA1019: in.Status.DNSName is deprecated"
- linters:
- unused
text: "const `tuningConfigKey` is unused"
linters:
enable:
- gci
disable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
linters-settings:
gci:
sections:
- standard
- dot
- prefix(github.com/openshift/hypershift)
- prefix(github.com/openshift)
- prefix(github.com/aws)
- prefix(github.com/Azure)
- prefix(k8s.io)
- prefix(sigs.k8s.io)
- default
custom-order: true