We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 491b6a2 + 7b7b80a commit 7fbd43dCopy full SHA for 7fbd43d
.golangci.yml
@@ -31,6 +31,10 @@ linters-settings:
31
errorlint:
32
# these are still common in Go: for instance, exit errors.
33
asserts: false
34
+ # Forcing %w in error wrapping forces authors to make errors part of their package APIs. The decision to make
35
+ # an error part of a package API should be a concious decision by the author.
36
+ # Also see Hyrums Law.
37
+ errorf: false
38
39
exhaustive:
40
default-signifies-exhaustive: true
0 commit comments