File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,12 +56,12 @@ linters-settings:
56
56
desc : The io/ioutil package has been deprecated.
57
57
forbidigo :
58
58
forbid :
59
- - ' ^fmt\.Errorf(# use errors\.Errorf instead)?$'
60
- - ' ^logrus\.(Trace|Debug|Info|Warn|Warning|Error|Fatal)(f|ln)?(# use bklog\.G or bklog\.L instead of logrus directly)?$'
61
59
- ' ^context\.WithCancel(# use context\.WithCancelCause instead)?$'
62
- - ' ^context\.WithTimeout(# use context\.WithTimeoutCause instead)?$'
63
60
- ' ^context\.WithDeadline(# use context\.WithDeadline instead)?$'
61
+ - ' ^context\.WithTimeout(# use context\.WithTimeoutCause instead)?$'
64
62
- ' ^ctx\.Err(# use context\.Cause instead)?$'
63
+ - ' ^fmt\.Errorf(# use errors\.Errorf instead)?$'
64
+ - ' ^logrus\.(Trace|Debug|Info|Warn|Warning|Error|Fatal)(f|ln)?(# use bklog\.G or bklog\.L instead of logrus directly)?$'
65
65
importas :
66
66
alias :
67
67
# Enforce alias to prevent it accidentally being used instead of our
You can’t perform that action at this time.
0 commit comments