hyperledger-labs/go-perun

Linter does not report undocumented publics

Closed this issue · 1 comments

Location

.golangci.yml

Problem

The default suppression filter of golangci-lint removes the "should have comment or be unexported" warnings.
Therefore public types/functions without comment currently pass the CI unnoticed.

Proposal

This can be disabled with exclude-use-default: false but would then require us to copy the remaining defaults that we still want to use.
Just copying some of the default values does not seem to work so well either, since some are deprecated…

Oh, I thought this was enabled again by now. What's your suggestion? How should we deal with this?