Skip to content

Commit da7dbf6

Browse files
authored
Merge pull request #12228 from sivchari/enable-duplicatemarkers
🌱 Enable duplicatemarkers linter
2 parents 2fbb798 + 221beb6 commit da7dbf6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.golangci-kal.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ linters:
1616
enable:
1717
- "commentstart" # Ensure comments start with the serialized version of the field name.
1818
- "conditions" # Ensure conditions have the correct json tags and markers.
19+
- "duplicatemarkers" # Ensure there are no exact duplicate markers. for types and fields.
1920
- "integers" # Ensure only int32 and int64 are used for integers.
2021
- "jsontags" # Ensure every field has a json tag.
2122
- "maxlength" # Ensure all strings and arrays have maximum lengths/maximum items.

hack/tools/.custom-gcl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name: golangci-lint-kube-api-linter
33
destination: ./bin
44
plugins:
55
- module: 'sigs.k8s.io/kube-api-linter'
6-
version: v0.0.0-20250411141643-33ef95a5ee04
6+
version: v0.0.0-20250515061849-37102c8f17a9

0 commit comments

Comments
 (0)