-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
area: configRelated to .golangci.yml and/or cli optionsRelated to .golangci.yml and/or cli optionsenhancementNew feature or improvementNew feature or improvement
Milestone
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.
horgh, moorepatrick, radiohead, pseidemann, VincentVW and 61 morealessandrozucca, fhofherr, gustafj, horgh, dbarrosop and 17 more
Metadata
Metadata
Assignees
Labels
area: configRelated to .golangci.yml and/or cli optionsRelated to .golangci.yml and/or cli optionsenhancementNew feature or improvementNew feature or improvement