Skip to content

Commit

Permalink
golangci: enable GoDoc linting
Browse files Browse the repository at this point in the history
golint is scoring pretty low currently, because many exported
functions and variables are missing a well-formatted GoDoc comment:

https://goreportcard.com/report/github.com/opencontainers/runc

Note that `golint` has been depracted, and replaced by `revive`:

    level=warning msg="[runner] The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner.  Replaced by revive."

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Jun 3, 2021
1 parent e03903e commit e9612df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ run:
linters:
enable:
- gofumpt
- revive

issues:
include:
- EXC0002

0 comments on commit e9612df

Please sign in to comment.