disable lint for tests

This commit is contained in:
Pavel 2024-12-17 14:27:25 +03:00
parent 139c7e29e2
commit 761eea9795
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ run:
skip-dirs-use-default: true
allow-parallel-runners: true
modules-download-mode: readonly
tests: false
output:
format: colored-line-number

View File

@ -37,6 +37,7 @@ type BufferedLogger interface {
// // Some other code that works with logger.
// fmt.Println(log.String())
type BufferLogger struct {
_ *zap.Logger
logger.Default
buf LockableBuffer
}