Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Update golangci-lint, skip generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Manno committed Sep 30, 2020
1 parent 2df86c6 commit 25997d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
run:
deadline: 20s
skip-dirs:
- vendor
- pkg/kube/client
linters-settings:
dupl:
threshold: 400
Expand All @@ -11,7 +14,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|viper.BindPFlag). 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:
Expand All @@ -28,7 +31,6 @@ linters:
- deadcode
- errcheck
- varcheck
- goconst
- unparam
- ineffassign
- nakedret
Expand Down

0 comments on commit 25997d1

Please sign in to comment.