Skip to content

Commit

Permalink
Update golangci-lint to stop using deprecated skip files/dirs
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
  • Loading branch information
brandond committed May 14, 2024
1 parent d0f7bf9 commit bcdd0be
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .golangci.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
]
},
"run": {
"skip-dirs": [
"deadline": "5m"
},
"issues": {
"exclude-dirs": [
"build",
"contrib",
"manifests",
"package",
"scripts",
"vendor"
],
"skip-files": [
"exclude-files": [
"/zz_generated_"
],
"deadline": "5m"
},
"issues": {
"exclude-rules": [
{
"linters": "typecheck",
Expand All @@ -43,4 +43,4 @@
}
]
}
}
}

0 comments on commit bcdd0be

Please sign in to comment.