Skip to content

Commit 76d5114

Browse files
authored
chore: add unconvert linter (#882)
Helps to remove unnecessary type conversions. It will be most useful once we migrate to hcloud-go v2 and need to cleanup a bunch of `int64`/`int` conversions.
1 parent 07eb177 commit 76d5114

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.golangci.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ linters:
2626
- typecheck
2727
- unparam
2828
- unused
29+
- unconvert
2930
- whitespace
3031

3132
issues:

0 commit comments

Comments
 (0)