Update golangci-lint to stop using deprecated skip files/dirs

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 2eca3f1e2c)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/10289/head
Brad Davidson 7 months ago committed by Brad Davidson
parent 0d867fb35a
commit 0f1b81f2af

@ -10,7 +10,10 @@
]
},
"run": {
"skip-dirs": [
"deadline": "5m"
},
"issues": {
"exclude-dirs": [
"build",
"contrib",
"manifests",
@ -18,12 +21,9 @@
"scripts",
"vendor"
],
"skip-files": [
"exclude-files": [
"/zz_generated_"
],
"deadline": "5m"
},
"issues": {
"exclude-rules": [
{
"linters": "typecheck",
@ -43,4 +43,4 @@
}
]
}
}
}

Loading…
Cancel
Save