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

Fix handling and change name of g:go_metalinter_excludes #1648

Merged
merged 1 commit into from
Jan 17, 2018

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented Jan 16, 2018

Use gometalinter's --disable option instead of its --exclude to
disable linters specified in g:go_metalinter_excludes; --exclude is
to exclude files, --disable is for disabling linters.

Rename g:go_metalinter_excludes to g:go_metalinter_disabled to more
accurately reflect its purpose in its name and so that it's symmetric
with g:go_metalinter_enabled.

Use gometalinter's `--disable` option instead of its `--exclude` to
disable linters specified in `g:go_metalinter_excludes`; `--exclude` is
to exclude files, `--disable` is for disabling linters.

Rename `g:go_metalinter_excludes` to `g:go_metalinter_disabled` to more
accurately reflect its purpose in its name and so that it's symmetric
with `g:go_metalinter_enabled`.
@fatih
Copy link
Owner

fatih commented Jan 16, 2018

lgtm

@bhcleek
Copy link
Collaborator Author

bhcleek commented Jan 17, 2018

TravisCI is currently having problems. Once they're back on their feet and this PR builds successfully, I'll merge it.

@fatih
Copy link
Owner

fatih commented Jan 17, 2018

restarted the build

@codecov-io
Copy link

Codecov Report

Merging #1648 into master will decrease coverage by 0.31%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1648      +/-   ##
==========================================
- Coverage   22.04%   21.73%   -0.32%     
==========================================
  Files          53       53              
  Lines        4173     4173              
==========================================
- Hits          920      907      -13     
- Misses       3253     3266      +13
Flag Coverage Δ
#nvim 16.89% <100%> (+0.02%) ⬆️
#vim74 19.38% <100%> (+0.02%) ⬆️
#vim80 20.6% <100%> (-0.32%) ⬇️
Impacted Files Coverage Δ
autoload/go/lint.vim 46.89% <100%> (-7.35%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 30d04ad...e3974b6. Read the comment docs.

@bhcleek bhcleek merged commit f455b96 into fatih:master Jan 17, 2018
@bhcleek bhcleek deleted the metalinter-symmetric-enabled-disabled branch January 17, 2018 15:43
bhcleek added a commit that referenced this pull request Jan 17, 2018
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.

3 participants