2019-03-25 04:50:02 +00:00
|
|
|
{
|
|
|
|
"linters": {
|
|
|
|
"disable-all": true,
|
|
|
|
"enable": [
|
|
|
|
"govet",
|
2021-07-02 20:33:34 +00:00
|
|
|
"revive",
|
2019-03-25 04:50:02 +00:00
|
|
|
"goimports",
|
|
|
|
"misspell",
|
|
|
|
"ineffassign",
|
|
|
|
"gofmt"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"run": {
|
2021-05-12 18:50:24 +00:00
|
|
|
"skip-dirs": [
|
2021-07-02 20:33:34 +00:00
|
|
|
"build",
|
|
|
|
"contrib",
|
|
|
|
"manifests",
|
|
|
|
"package",
|
2021-11-09 03:50:42 +00:00
|
|
|
"scripts",
|
|
|
|
"vendor"
|
2021-05-12 18:50:24 +00:00
|
|
|
],
|
2019-03-25 04:50:02 +00:00
|
|
|
"skip-files": [
|
|
|
|
"/zz_generated_"
|
|
|
|
],
|
|
|
|
"deadline": "5m"
|
2021-07-02 20:33:34 +00:00
|
|
|
},
|
|
|
|
"issues": {
|
|
|
|
"exclude-rules": [
|
|
|
|
{
|
|
|
|
"linters": "typecheck",
|
|
|
|
"text": "imported but not used"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"linters": "revive",
|
|
|
|
"text": "should have comment"
|
|
|
|
}
|
|
|
|
]
|
2019-03-25 04:50:02 +00:00
|
|
|
}
|
|
|
|
}
|