mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-14 15:28:43 -04:00
docs: adjust wrapcheck ignoreSigs to new defaults (#4326)
This commit is contained in:
parent
7fc341e52c
commit
4c3082bef1
1 changed files with 2 additions and 1 deletions
|
@ -2281,11 +2281,12 @@ linters-settings:
|
|||
# An array of strings that specify substrings of signatures to ignore.
|
||||
# If this set, it will override the default set of ignored signatures.
|
||||
# See https://github.com/tomarrell/wrapcheck#configuration for more information.
|
||||
# Default: [".Errorf(", "errors.New(", "errors.Unwrap(", ".Wrap(", ".Wrapf(", ".WithMessage(", ".WithMessagef(", ".WithStack("]
|
||||
# Default: [".Errorf(", "errors.New(", "errors.Unwrap(", "errors.Join(", ".Wrap(", ".Wrapf(", ".WithMessage(", ".WithMessagef(", ".WithStack("]
|
||||
ignoreSigs:
|
||||
- .Errorf(
|
||||
- errors.New(
|
||||
- errors.Unwrap(
|
||||
- errors.Join(
|
||||
- .Wrap(
|
||||
- .Wrapf(
|
||||
- .WithMessage(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue