Skip to content

Commit 6bac35b

Browse files
authored
Merge pull request #11910 from sivchari/enable-nofloats
🌱 Enable nofloats linter
2 parents d724d5e + 4110315 commit 6bac35b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.golangci-kal.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ linters-settings:
1919
- "conditions" # Ensure conditions have the correct json tags and markers.
2020
- "integers" # Ensure only int32 and int64 are used for integers.
2121
- "statussubresource" # All root objects that have a `status` field should have a status subresource.
22+
- "nofloats" # Ensure floats are not used.
2223

2324
# Per discussion in July 2024, we are keeping phase fields for now.
2425
# See https://github.com/kubernetes-sigs/cluster-api/pull/10897#discussion_r1685929508

0 commit comments

Comments
 (0)