Skip to content

Add godoc linter #7444

@dfawley

Description

@dfawley

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:

#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

#7577 #7580 fixes

  • 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.Type: MetaGithub repo, process, etc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions