Ignore errcheck for viper.BindPFlag
@@ -11,7 +11,7 @@ issues:
# (fill in the rest as needed)
exclude-rules:
- linters: [errcheck]
- text: "Error return value of .((os\\.)?std(out|err)\\..*|.*Close|.*Flush|os\\.Remove(All)?|.*printf?|os\\.(Un)?Setenv|Errorf). is not checked"
+ text: "Error return value of .((os\\.)?std(out|err)\\..*|.*Close|.*Flush|os\\.Remove(All)?|.*printf?|os\\.(Un)?Setenv|Errorf|viper.BindPFlag). is not checked"
skip-files:
- ".*_fake.go$"
skip-dirs:
