Resolve golangci-lint warnings

This commit is contained in:
Peter Rifel 2024-09-13 15:48:47 -05:00
parent 6a5f4e741c
commit 9941236bc0
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,6 @@
run:
timeout: 30m
skip-files:
- "^zz_generated.*"
go: "1.22"
issues:
max-same-issues: 0
@ -11,6 +10,8 @@ issues:
- path: conversion\.go
linters:
- ineffassign
exclude-files:
- "^zz_generated.*"
linters:
disable-all: true
@ -22,7 +23,6 @@ linters:
linters-settings: # please keep this alphabetized
staticcheck:
go: "1.20"
checks: [
"all",
"-ST1000", # Incorrect or missing package comment