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,
|
||||
"Deadline": "2m",
|
||||
"Sort": ["linter", "severity", "path", "line"],
|
||||
"Exclude": [
|
||||
"Skip": [
|
||||
"cli/compose/schema/bindata.go",
|
||||
"cli/command/stack/kubernetes/api/openapi",
|
||||
"cli/command/stack/kubernetes/api/client",
|
||||
".*generated.*",
|
||||
"parameter .* always receives"
|
||||
"vendor"
|
||||
],
|
||||
"Exclude": [
|
||||
"parameter .* always receives",
|
||||
"_esc(Dir|FS|FSString|FSMustString) is unused"
|
||||
],
|
||||
"EnableGC": true,
|
||||
"Linters": {
|
||||
|
|
Loading…
Reference in New Issue