Commit e5468c93 authored by Brad Davidson's avatar Brad Davidson Committed by Brad Davidson

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

Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com> (cherry picked from commit 2eca3f1e) Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com>
parent 9d044760
...@@ -10,7 +10,10 @@ ...@@ -10,7 +10,10 @@
] ]
}, },
"run": { "run": {
"skip-dirs": [ "deadline": "5m"
},
"issues": {
"exclude-dirs": [
"build", "build",
"contrib", "contrib",
"manifests", "manifests",
...@@ -18,12 +21,9 @@ ...@@ -18,12 +21,9 @@
"scripts", "scripts",
"vendor" "vendor"
], ],
"skip-files": [ "exclude-files": [
"/zz_generated_" "/zz_generated_"
], ],
"deadline": "5m"
},
"issues": {
"exclude-rules": [ "exclude-rules": [
{ {
"linters": "typecheck", "linters": "typecheck",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment