Merge pull request #2163 from thaJeztah/fixup_linting_config

Fix-up (gometalinter) linting config
This commit is contained in:
Silvin Lubecki 2019-10-25 15:05:24 +02:00 committed by GitHub
commit 36707529d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -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": {