docs: adjust wrapcheck ignoreSigs to new defaults (#4326)

This commit is contained in:
Tobias 2024-01-19 23:44:04 +01:00 committed by GitHub
parent 7fc341e52c
commit 4c3082bef1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(