mirror of https://github.com/kubernetes/kops.git
Resolve golangci-lint warnings
This commit is contained in:
parent
6a5f4e741c
commit
9941236bc0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue