mirror of https://github.com/k3s-io/k3s.git
37 lines
522 B
JSON
37 lines
522 B
JSON
{
|
|
"linters": {
|
|
"disable-all": true,
|
|
"enable": [
|
|
"govet",
|
|
"golint",
|
|
"goimports",
|
|
"misspell",
|
|
"gofmt"
|
|
]
|
|
},
|
|
"run": {
|
|
"skip-dirs": [
|
|
"build", "/go/src/github.com/rancher/k3s/build"
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
} |