mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
3531df3f31
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
43 lines
554 B
JSON
43 lines
554 B
JSON
{
|
|
"linters": {
|
|
"disable-all": true,
|
|
"enable": [
|
|
"govet",
|
|
"revive",
|
|
"goimports",
|
|
"misspell",
|
|
"gofmt"
|
|
]
|
|
},
|
|
"run": {
|
|
"skip-dirs": [
|
|
"build",
|
|
"contrib",
|
|
"manifests",
|
|
"package",
|
|
"scripts",
|
|
"vendor"
|
|
],
|
|
"skip-files": [
|
|
"/zz_generated_"
|
|
],
|
|
"deadline": "5m"
|
|
},
|
|
"issues": {
|
|
"exclude-rules": [
|
|
{
|
|
"linters": "typecheck",
|
|
"text": "imported but not used"
|
|
},
|
|
{
|
|
"linters": "revive",
|
|
"text": "should have comment"
|
|
},
|
|
{
|
|
"linters": "revive",
|
|
"text": "exported"
|
|
}
|
|
]
|
|
}
|
|
}
|