Skip to content

Commit edae21a

Browse files
committed
specify the exclude patterns
Signed-off-by: sivchari <[email protected]>
1 parent ba579bf commit edae21a

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.golangci-kal.yml

+1-12
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,6 @@ issues:
6767
- kal
6868
# We follow the current CustomResourceDefinition field's json tag pattern.
6969
- path: "api/v1beta1/*"
70-
source: "X.*"
71-
linters:
72-
- kal
73-
# These reporting are false positives.
74-
# When the following issue is fixed, remove the exclusion.
75-
# https://github.com/JoelSpeed/kal/issues/43
76-
- path: "bootstrap/kubeadm/api/v1beta1/*"
77-
text: "jsontags: field ID json tag does not match pattern"
78-
linters:
79-
- kal
80-
- path: "bootstrap/kubeadm/api/v1beta1/*"
81-
text: "jsontags: field Secret json tag does not match pattern"
70+
text: "field (XPreserveUnknownFields|XPreserveUnknownFields|XValidations|XMetadata|XIntOrString) json tag does not match pattern"
8271
linters:
8372
- kal

0 commit comments

Comments
 (0)