k3s/.golangci.json
Brad Davidson 92b651e548 update golangci config to sync with RKE2
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-08-20 18:47:16 -07:00

39 lines
500 B
JSON

{
"linters": {
"disable-all": true,
"enable": [
"govet",
"revive",
"goimports",
"misspell",
"ineffassign",
"gofmt"
]
},
"run": {
"skip-dirs": [
"build",
"contrib",
"manifests",
"package",
"scripts"
],
"skip-files": [
"/zz_generated_"
],
"deadline": "5m"
},
"issues": {
"exclude-rules": [
{
"linters": "typecheck",
"text": "imported but not used"
},
{
"linters": "revive",
"text": "should have comment"
}
]
}
}