Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint: remove go_metalinter_disabled option and fix tests #2375

Merged
merged 1 commit into from
Jun 30, 2019

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented Jun 30, 2019

Fix the tests for golangci-lint by:

  • spelling g:go_metalinter_command correctly
  • modifying the expectations for golangci-lint now that the tests
    actually run it.

Remove g:go_metalinter_disabled option. Given that both golangci-lint
and gometalinter have all linters disabled using --disable-all and
then only the linters in g:go_metalinter_enabled run,
g:go_metalinter_disabled is extraneous. golangci-lint prevents the use
of both --disable-all and --disable, too.

Fix the tests for golangci-lint by:
* spelling g:go_metalinter_command correctly
* modifying the expectations for golangci-lint now that the tests
  actually run it.

Remove g:go_metalinter_disabled option. Given that both golangci-lint
and gometalinter have all linters disabled using `--disable-all` and
then only the linters in g:go_metalinter_enabled run,
g:go_metalinter_disabled is extraneous. golangci-lint prevents the use
of both `--disable-all` and `--disable`, too.
@bhcleek bhcleek merged commit 257a340 into fatih:master Jun 30, 2019
@bhcleek bhcleek deleted the lint/fix-tests branch June 30, 2019 04:39
bhcleek added a commit that referenced this pull request Jun 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant