Skip to content

Commit 4c3082b

Browse files
authored
docs: adjust wrapcheck ignoreSigs to new defaults (#4326)
1 parent 7fc341e commit 4c3082b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.golangci.reference.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2281,11 +2281,12 @@ linters-settings:
22812281
# An array of strings that specify substrings of signatures to ignore.
22822282
# If this set, it will override the default set of ignored signatures.
22832283
# See https://github.com/tomarrell/wrapcheck#configuration for more information.
2284-
# Default: [".Errorf(", "errors.New(", "errors.Unwrap(", ".Wrap(", ".Wrapf(", ".WithMessage(", ".WithMessagef(", ".WithStack("]
2284+
# Default: [".Errorf(", "errors.New(", "errors.Unwrap(", "errors.Join(", ".Wrap(", ".Wrapf(", ".WithMessage(", ".WithMessagef(", ".WithStack("]
22852285
ignoreSigs:
22862286
- .Errorf(
22872287
- errors.New(
22882288
- errors.Unwrap(
2289+
- errors.Join(
22892290
- .Wrap(
22902291
- .Wrapf(
22912292
- .WithMessage(

0 commit comments

Comments
 (0)