ci: enable the nolintlint linter (#5221)

This linter helps us find unneeded nolint statements.
This commit is contained in:
Marten Seemann
2025-06-11 12:52:21 +08:00
committed by GitHub
parent 01921ede97
commit aa22706d78
7 changed files with 3 additions and 9 deletions

View File

@@ -318,7 +318,6 @@ func (s congestionState) String() string {
type ecn logging.ECN
func (e ecn) String() string {
//nolint:exhaustive // The unsupported value is never logged.
switch logging.ECN(e) {
case logging.ECTNot:
return "Not-ECT"