mirror of https://github.com/k3s-io/k3s
Update golangci-lint to stop using deprecated skip files/dirs
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>pull/10241/head
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 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue