Skip to content

Commit b336dc9

Browse files
authored
Merge pull request #11936 from tsuzu/enable-commentstart
🌱 Enable commentstart lint of KAL
2 parents 9ed56b1 + c2c97d9 commit b336dc9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.golangci-kal.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ linters-settings:
1616
settings:
1717
linters:
1818
enable:
19+
- "commentstart" # Ensure comments start with the serialized version of the field name.
1920
- "conditions" # Ensure conditions have the correct json tags and markers.
2021
- "integers" # Ensure only int32 and int64 are used for integers.
2122
- "jsontags" # Ensure every field has a json tag.
@@ -31,7 +32,6 @@ linters-settings:
3132
# - "nophase" # Phase fields are discouraged by the Kube API conventions, use conditions instead.
3233

3334
# Linters below this line are disabled, pending conversation on how and when to enable them.
34-
# - "commentstart" # Ensure comments start with the serialized version of the field name.
3535
# - "optionalorrequired" # Every field should be marked as `+optional` or `+required`.
3636
disable:
3737
- "*" # We will manually enable new linters after understanding the impact. Disable all by default.

hack/tools/.custom-gcl.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ name: golangci-lint-kal-v1.63.4
33
destination: ./bin
44
plugins:
55
- module: 'github.com/JoelSpeed/kal'
6-
version: v0.0.0-20250304142607-36e90ff72198
6+
version: v0.0.0-20250305092907-abd233a9fed8

0 commit comments

Comments
 (0)