-
Couldn't load subscription status.
- Fork 4.6k
Closed
Labels
Area: ToolingIncludes anything related to Go builds, modules etc and includes Releases & Github Workflows.Includes anything related to Go builds, modules etc and includes Releases & Github Workflows.Type: MetaGithub repo, process, etcGithub repo, process, etc
Description
Since removing golint, we've had numerous occasions of missing docstrings. This seems like the consensus replacement for golint: https://github.com/mgechev/revive -- we should set it up to at least check the docstrings.
EDIT:
-
add the
Reviveinter in quite mode: tools: Add github.com/mgechev/revive #7472** -
Enforce Revive Linter: vet: enforce revive linter #7589
-
fix below existing lint issues and enable the disabled rule
#7575 fixes
- 83 exported
#7574 fixes
- 8 package-comments
#7552 fixes
- 15 redefines-builtin-id
#7528 fixes
- 6 var-declaration
- 3 indent-error-flow
- 1 increment-decrement
- 1 superfluous-else
- 546 unused-parameter
- 28 var-naming (Ignore
reflection/test/grpc_testing_not_regenerate/) - 1 context-as-argument (Ignore
reflection/test/grpc_testing_not_regenerate/)
Metadata
Metadata
Assignees
Labels
Area: ToolingIncludes anything related to Go builds, modules etc and includes Releases & Github Workflows.Includes anything related to Go builds, modules etc and includes Releases & Github Workflows.Type: MetaGithub repo, process, etcGithub repo, process, etc