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 <[email protected]>
  • Loading branch information
thaJeztah committed Dec 2, 2021
1 parent 7731c81 commit 8109ecf
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 @@ -8,5 +8,10 @@ linters:
enable:
- gofumpt
- errorlint
- revive
- unconvert
- unparam

issues:
include:
- EXC0002

0 comments on commit 8109ecf

Please sign in to comment.