Browse Source

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

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/10241/head
Brad Davidson 6 months ago committed by Brad Davidson
parent
commit
2eca3f1e2c
  1. 10
      .golangci.json

10
.golangci.json

@ -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",

Loading…
Cancel
Save