Skip to content

Commit

Permalink
🔧 ci: Use exclude_patterns to avoid bad test data
Browse files Browse the repository at this point in the history
@Zedjones had CodeClimate pick apart one of his pull requests because of
the interfaces used. This should get CodeClimate to calm down on the
repeated code by ignoring a few different patterns.

Signed-off-by: Justin W. Flory <git@jwf.io>
  • Loading branch information
jwflory committed Apr 18, 2020
1 parent f6fd3be commit 0f36a1f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
version: "2"
plugins:
gofmt:
enabled: true
Expand All @@ -8,3 +9,11 @@ plugins:
min_confidence: 0.8
govet:
enabled: true
exclude_patterns:
- "**/*_test.go"
- "**/mock_*.go"
- ".github/"
- "assets/"
- "build/"
- "deployments/"
- "docs/"

0 comments on commit 0f36a1f

Please sign in to comment.