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