logging: linter fixes

This commit is contained in:
2025-11-15 21:02:19 -08:00
parent 9fb93a3802
commit 840066004a
7 changed files with 138 additions and 123 deletions

View File

@@ -343,11 +343,6 @@ linters:
skip-single-param: true
mnd:
# List of function patterns to exclude from analysis.
# Values always ignored: `time.Date`,
# `strconv.FormatInt`, `strconv.FormatUint`, `strconv.FormatFloat`,
# `strconv.ParseInt`, `strconv.ParseUint`, `strconv.ParseFloat`.
# Default: []
ignored-functions:
- args.Error
- flag.Arg
@@ -451,6 +446,8 @@ linters:
linters: [ testpackage ]
- path: 'dbg/dbg_test.go'
linters: [ testpackage ]
- path: 'logging/example_test.go'
linters: [ testableexamples ]
- source: 'TODO'
linters: [ godot ]
- text: 'should have a package comment'