-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
make --exclude-use-default
configurable
#2501
Comments
I believe the issue is caused by Line 251 in 75fa6fe
|
I'm reluctant to add specific support for this for reasons that are outlined in golangci/golangci-lint#456. However, vim-go does support specifying your own metalinter command to run by setting |
I'll give this some more thought; it may be possible to provide a feature to do this easily in a way that gives you more control generically and will be extensible in the future. 🤔 |
never mind, I made it by implementing a crude compiler:
Thanks all the same. |
What did you do? (required: The issue will be closed when not provided)
composed a golangci-lint config file under the project root dir but failed to make it work
What did you expect to happen?
it's expected that
exported method should have comment or be unexported
is hidden because I specifiedexclude-use-default: true
in config file.What happened instead?
error
exported method should have comment or be unexported
still raisedConfiguration (MUST fill this out):
vim-go version:
silent! let g:plugs['vim-go'].commit = '1946131'
vimrc
you used to reproduce (use a minimal vimrc with other plugins disabled; do not link to a 2,000 line vimrc):vimrc
Vim version (first three lines from
:version
):VIM - Vi IMproved 8.1 (2018 May 18, compiled Jul 21 2019 22:54:00)
macOS version
Included patches: 1-1722
Go version (
go version
):go version go1.12.6 darwin/amd64
Go environment
go env
Output:The text was updated successfully, but these errors were encountered: