Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6d4e7a9

Browse files
committedMar 3, 2025··
add exclude section for maxlength
Signed-off-by: sivchari <shibuuuu5@gmail.com>
1 parent d319312 commit 6d4e7a9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎.golangci-kal.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ issues:
5959
max-issues-per-linter: 0
6060
exclude-rules:
6161
# KAL should only run on API folders.
62-
- path-except: "api/*"
62+
- path-except: "api//*"
6363
linters:
6464
- kal
6565
- path: "api/v1beta1/*|api/v1alpha1/*"
@@ -74,3 +74,7 @@ issues:
7474
text: "field Prefix should not use an int, int8 or int16. Use int32 or int64 depending on bounding requirements"
7575
linters:
7676
- kal
77+
- path: "api/v1alpha1/*|api/v1alpha3/*|api/v1beta1/*"
78+
text: "maxlength"
79+
linters:
80+
- kal

0 commit comments

Comments
 (0)
Please sign in to comment.