You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The feature was added recently (2 months ago) to golint. One of the reasons it's per file is that golint only could do it on a single file. Here is the recent change to it: golang/lint#271
I'm labeling this as help-wanted. If I have time I'll do it, if not someone else can tackle it. /cc @bhcleek
:GoLint now works on the current directory instead of the file. Please pull the latest master. Thanks and feel free to open another issue if there are problems.
Behavior
When
GoLint
is run with no arguments, it only lints the current file rather than the entire package, asGoBuild
andGoTest
do.Steps to reproduce:
a.go
andb.go
. Both should build and a.go should have a lint error.b.go
.GoLint
.GoLint path/to/package
.a.go
Configuration
Vim 8.0
vim-go 1.11
Go 1.7.4
The text was updated successfully, but these errors were encountered: