You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Not all platforms are supported by this operator, those which aren't
143
-
# supported will be caught by the default case in the switches.
144
-
- "missing cases in switch of type v1.PlatformType: (\\.*)"
145
-
exclude-use-default: false
146
-
exclude-files:
147
-
- "zz_generated.*\\.go$"
148
-
exclude-rules:
149
-
- linters:
150
-
- staticcheck
151
-
text: "SA1019: (\"sigs.k8s.io/controller-runtime/pkg/config/v1alpha1\"|ctrlconfigv1.*) is deprecated: The component config package has been deprecated and will be removed in a future release."
152
-
# Exclude some linters from running on tests files.
153
-
- path: _test\.go
154
-
linters:
155
-
- gosec
156
-
- path: internal/envtest/environment.go
157
-
linters:
158
-
- dogsled
159
-
- gosec
160
-
- wsl
134
+
- linters:
135
+
- staticcheck
136
+
text: 'SA1019: ("sigs.k8s.io/controller-runtime/pkg/config/v1alpha1"|ctrlconfigv1.*) is deprecated: The component config package has been deprecated and will be removed in a future release.'
137
+
- linters:
138
+
- staticcheck
139
+
text: 'ST1016: methods on the same type should have the same receiver name'
140
+
path: api/(.+)\.go$
141
+
- linters:
142
+
- staticcheck
143
+
text: 'ST1003: should not use underscores in Go names;'
144
+
path: api/(.+)\.go$
145
+
- linters:
146
+
- staticcheck
147
+
text: 'QF1008: could remove embedded field'
148
+
- linters:
149
+
- staticcheck
150
+
text: 'ST1000: at least one file in a package should have a package comment'
151
+
# Exclude some linters from running on tests files.
152
+
- linters:
153
+
- gosec
154
+
path: _test\.go
155
+
- linters:
156
+
- dogsled
157
+
- gosec
158
+
- wsl
159
+
path: internal/envtest/environment.go
160
+
# Not all platforms are supported by this operator, those which aren't
161
+
# supported will be caught by the default case in the switches.
162
+
- path: (.+)\.go$
163
+
text: 'missing cases in switch of type v1.PlatformType: (\.*)'
0 commit comments