mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-28 19:29:39 +00:00
Update golangci-lint to stop using deprecated skip files/dirs
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
committed by
Brad Davidson
parent
f8e0648304
commit
2eca3f1e2c
@@ -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 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user