Fix depguard config in yml
This commit is contained in:
parent
f3e349fb5c
commit
06dddc3d67
@ -138,9 +138,9 @@ linters-settings:
|
|||||||
include-go-root: false
|
include-go-root: false
|
||||||
packages:
|
packages:
|
||||||
- github.com/sirupsen/logrus
|
- github.com/sirupsen/logrus
|
||||||
packages-with-error-messages:
|
packages-with-error-message:
|
||||||
# specify an error message to output when a blacklisted package is used
|
# 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:
|
misspell:
|
||||||
# Correct spellings using locale preferences for US or UK.
|
# Correct spellings using locale preferences for US or UK.
|
||||||
# Default is to use a neutral variety of English.
|
# Default is to use a neutral variety of English.
|
||||||
|
@ -25,8 +25,8 @@ linters-settings:
|
|||||||
# logging is allowed only by logutils.Log, logrus
|
# logging is allowed only by logutils.Log, logrus
|
||||||
# is allowed to use only in logutils package
|
# is allowed to use only in logutils package
|
||||||
- github.com/sirupsen/logrus
|
- github.com/sirupsen/logrus
|
||||||
packages-with-error-messages:
|
packages-with-error-message:
|
||||||
github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
|
- github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
|
||||||
misspell:
|
misspell:
|
||||||
locale: US
|
locale: US
|
||||||
lll:
|
lll:
|
||||||
|
@ -741,9 +741,9 @@ linters-settings:
|
|||||||
include-go-root: false
|
include-go-root: false
|
||||||
packages:
|
packages:
|
||||||
- github.com/sirupsen/logrus
|
- github.com/sirupsen/logrus
|
||||||
packages-with-error-messages:
|
packages-with-error-message:
|
||||||
# specify an error message to output when a blacklisted package is used
|
# 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:
|
misspell:
|
||||||
# Correct spellings using locale preferences for US or UK.
|
# Correct spellings using locale preferences for US or UK.
|
||||||
# Default is to use a neutral variety of English.
|
# Default is to use a neutral variety of English.
|
||||||
@ -940,8 +940,8 @@ linters-settings:
|
|||||||
# logging is allowed only by logutils.Log, logrus
|
# logging is allowed only by logutils.Log, logrus
|
||||||
# is allowed to use only in logutils package
|
# is allowed to use only in logutils package
|
||||||
- github.com/sirupsen/logrus
|
- github.com/sirupsen/logrus
|
||||||
packages-with-error-messages:
|
packages-with-error-message:
|
||||||
github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
|
- github.com/sirupsen/logrus: "logging is allowed only by logutils.Log"
|
||||||
misspell:
|
misspell:
|
||||||
locale: US
|
locale: US
|
||||||
lll:
|
lll:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user