Skip to content

Commit

Permalink
Merge pull request ipfs#1 from ipfs/chore/code-climate
Browse files Browse the repository at this point in the history
Add codeclimate config
  • Loading branch information
djdv authored Jun 11, 2019
2 parents d7bb85e + 523f9e1 commit 56b8ab4
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
ratings:
paths:
- "**/*.go"

exclude_paths:
- test/
- Godeps/
- thirdparty/
- "**/*.pb.go"

engines:
fixme:
enabled: true
config:
strings:
- FIXME
- HACK
- XXX
- BUG
golint:
enabled: true
govet:
enabled: true
gofmt:
enabled: true

version: "2"
checks:
argument-count:
enabled: false
complex-logic:
enabled: false
file-lines:
enabled: false
method-complexity:
enabled: false
method-count:
enabled: false
method-lines:
enabled: false
nested-control-flow:
enabled: false
return-statements:
enabled: false
similar-code:
enabled: false

0 comments on commit 56b8ab4

Please sign in to comment.