Skip to content

Commit c71bd11

Browse files
committed
add exclude section for maxlength
Signed-off-by: sivchari <shibuuuu5@gmail.com>
1 parent da34abf commit c71bd11

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.golangci-kal.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ issues:
5858
max-issues-per-linter: 0
5959
exclude-rules:
6060
# KAL should only run on API folders.
61-
- path-except: "api/*"
61+
- path-except: "api//*"
6262
linters:
6363
- kal
6464
- path: "api/v1beta1/*|api/v1alpha1/*"
@@ -73,3 +73,7 @@ issues:
7373
text: "field Prefix should not use an int, int8 or int16. Use int32 or int64 depending on bounding requirements"
7474
linters:
7575
- kal
76+
- path: "api/v1alpha1/*|api/v1alpha3/*|api/v1beta1/*"
77+
text: "maxlength"
78+
linters:
79+
- kal

0 commit comments

Comments
 (0)