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

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/10241/head
Brad Davidson 2024-05-13 21:23:49 +00:00 committed by Brad Davidson
parent f8e0648304
commit 2eca3f1e2c
1 changed files with 6 additions and 6 deletions

View File

@ -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 @@
}
]
}
}
}