diff options
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml index d25c2d8f5..db6e94145 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -76,6 +76,8 @@ linters-settings: msg: Use the logger provided by `log.Default()` or `ctxlogrus.Extract()`. - p: ^logrus\.New$ msg: Use the logger provided by `log.Default()` or `ctxlogrus.Extract()`. + - p: ^logrus\.With(Context|Error|Field|Fields|Time)$ + msg: Use the logger provided by `log.Default()` or `ctxlogrus.Extract()`. analyze-types: true paralleltest: # Ignore missing calls to `t.Parallel()` and only report incorrect uses of it. |