Closed
Description
We are in the process of adding support to vim-go for golangci-lint
and plan to very soon make it the default to replace gometaliner
when running vim-go's :GoMetaLinter
.
Please reconsider excluding missing doc comments from golint by default. The README.md justifies the decision with
The rare codebase has such comments
But that rationale is false and goes against Go recommended best practices. Even if the rationale were true, appealing to such a common situation alone is insufficient to justify perpetuating bad practices.
Effective Go specifically states
Every exported (capitalized) name in a program should have a doc comment.
And the only reason we have such great tools as godoc.org is because so many packages implement that guideline.