Skip to content

Commit

Permalink
fix golint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
krunalhinguu committed Feb 21, 2025
1 parent 7cdb514 commit 14296ee
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .golangci.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,27 @@
"linters": {
"disable-all": true,
"enable": [
"govet",
"revive",
"goimports",
"misspell",
"ineffassign",
"gofmt"
"govet",
"revive",
"goimports",
"misspell",
"ineffassign",
"gofmt",
"shadow"
]
},
"linters-settings": {
"govet": {
"check-shadowing": false
},
"gofmt": {
"simplify": false
}
},
"run": {
"skip-dirs": [
"issues": {
"exclude-dirs": [
"vendor",
"tests",
"pkg/client",
"pkg/generated"
],
"tests": false,
"timeout": "10m"
},
"issues": {
"exclude-rules": [
{
"linters": "govet",
Expand Down Expand Up @@ -64,4 +58,4 @@
}
]
}
}
}

0 comments on commit 14296ee

Please sign in to comment.