We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 182962b commit 19a97b8Copy full SHA for 19a97b8
.errcheck.list
.golangci.yaml
@@ -2,4 +2,13 @@ run:
2
tests: false
3
linters-settings:
4
errcheck:
5
- exclude: ./.errcheck.list
+ # Keyword `exclude` is removed: https://golangci-lint.run/usage/linters/#errcheck
6
+ exclude-functions:
7
+ - github.com/imdario/mergo.Merge
8
+ - github.com/spf13/viper.BindEnv
9
+ - (github.com/spf13/pflag.Value).Set
10
+ - (*github.com/briandowns/spinner.Spinner).Color
11
+ - (*github.com/spf13/cobra.Command).MarkFlagRequired
12
+ - (*github.com/spf13/cobra.Command).Help
13
+ - (*github.com/spf13/pflag.FlagSet).MarkHidden
14
+ - (*github.com/spf13/pflag.FlagSet).Set
0 commit comments