Skip to content

Commit

Permalink
Loosen codeclimate rules for autogenerated code and golang `context.T…
Browse files Browse the repository at this point in the history
…ODO()` false positives
  • Loading branch information
imheresamir committed Nov 2, 2021
1 parent 2740994 commit 3fab5b9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ plugins:
- HACK
- XXX
- BUG
exclude_patterns:
# Exclude `context.T O D O()` false positives
- "internal/configurationmanagers/kubernetes/"
- "internal/providers/kubernetessecrets/"
- "test/providers/kubernetessecrets/"

# ---------------
# Commonly-used languages - run time is minimal and all of these will work
Expand Down Expand Up @@ -188,3 +193,5 @@ plugins:
# commented if no files to exclude as an empty array will error
exclude_patterns:
- ".gitignore"
# Exclude autogenerated code
- "pkg/k8sclient/"

0 comments on commit 3fab5b9

Please sign in to comment.