mirror of https://github.com/docker/cli.git
Merge pull request #2163 from thaJeztah/fixup_linting_config
Fix-up (gometalinter) linting config
This commit is contained in:
commit
36707529d3
|
@ -2,12 +2,16 @@
|
||||||
"Vendor": true,
|
"Vendor": true,
|
||||||
"Deadline": "2m",
|
"Deadline": "2m",
|
||||||
"Sort": ["linter", "severity", "path", "line"],
|
"Sort": ["linter", "severity", "path", "line"],
|
||||||
"Exclude": [
|
"Skip": [
|
||||||
"cli/compose/schema/bindata.go",
|
"cli/compose/schema/bindata.go",
|
||||||
"cli/command/stack/kubernetes/api/openapi",
|
"cli/command/stack/kubernetes/api/openapi",
|
||||||
"cli/command/stack/kubernetes/api/client",
|
"cli/command/stack/kubernetes/api/client",
|
||||||
".*generated.*",
|
".*generated.*",
|
||||||
"parameter .* always receives"
|
"vendor"
|
||||||
|
],
|
||||||
|
"Exclude": [
|
||||||
|
"parameter .* always receives",
|
||||||
|
"_esc(Dir|FS|FSString|FSMustString) is unused"
|
||||||
],
|
],
|
||||||
"EnableGC": true,
|
"EnableGC": true,
|
||||||
"Linters": {
|
"Linters": {
|
||||||
|
|
Loading…
Reference in New Issue