Fix depguard config in yml

This commit is contained in:
Patrick Zhang 2019-12-03 11:07:30 -08:00 committed by Trevor Pounds
parent f3e349fb5c
commit 06dddc3d67
3 changed files with 8 additions and 8 deletions

View File

@ -138,9 +138,9 @@ linters-settings:
include-go-root: false
packages:
- github.com/sirupsen/logrus
packages-with-error-messages:
packages-with-error-message:
# specify an error message to output when a blacklisted package is used
github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
- github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
misspell:
# Correct spellings using locale preferences for US or UK.
# Default is to use a neutral variety of English.

View File

@ -25,8 +25,8 @@ linters-settings:
# logging is allowed only by logutils.Log, logrus
# is allowed to use only in logutils package
- github.com/sirupsen/logrus
packages-with-error-messages:
github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
packages-with-error-message:
- github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
misspell:
locale: US
lll:

View File

@ -741,9 +741,9 @@ linters-settings:
include-go-root: false
packages:
- github.com/sirupsen/logrus
packages-with-error-messages:
packages-with-error-message:
# specify an error message to output when a blacklisted package is used
github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
- github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
misspell:
# Correct spellings using locale preferences for US or UK.
# Default is to use a neutral variety of English.
@ -940,8 +940,8 @@ linters-settings:
# logging is allowed only by logutils.Log, logrus
# is allowed to use only in logutils package
- github.com/sirupsen/logrus
packages-with-error-messages:
github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
packages-with-error-message:
- github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
misspell:
locale: US
lll: