forked from redhat-certification/chart-verifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yaml
50 lines (47 loc) · 1.05 KB
/
.golangci.yaml
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
run:
# Default timeout is 1m, up to give more room
timeout: 4m
linters:
enable:
- asciicheck
- unused
- depguard
- gofumpt
- goimports
- importas
- revive
- misspell
- stylecheck
- tparallel
- unconvert
- unparam
- whitespace
linters-settings:
importas:
alias:
- pkg: k8s.io/api/core/v1
alias: corev1
- pkg: k8s.io/apimachinery/pkg/apis/meta/v1
alias: metav1
- pkg: k8s.io/apimachinery/pkg/api/errors
alias: apierrors
- pkg: github.com/operator-framework/api/pkg/operators/v1alpha1
alias: operatorsv1alpha1
- pkg: github.com/operator-framework/api/pkg/operators/v1
alias: operatorsv1
- pkg: github.com/openshift/api/image/v1
alias: imagestreamv1
revive:
rules:
- name: dot-imports
severity: warning
disabled: true
stylecheck:
dot-import-whitelist:
- github.com/onsi/gomega
- github.com/onsi/ginkgo
- github.com/onsi/ginkgo/v2
goimports:
local-prefixes: github.com/redhat-certification/chart-verifier
output:
format: tab