Codeclimate ready?
freiden opened this issue ยท 10 comments
Hi @fazibear,
You're project seems very interesting and I would like to include it on my codeclimate projects.
Did you apply to the Codeclimate developer Program to make it available on their plaform or are you planning to?
Thanks by advance for your answer.
Yes. I'm working on this and other one engine with code climate team to make it public. I'll do my best to make it available asap. So stay truned. Thanks for your interest.
Hi @fazibear any update the codeclimate integration? If you need help about maybe I can give you some?
Things are happening. Codeclimate guys testing it right now.
Hey @freiden,
I just released @fazibear's codeclimate-credo engine to codeclimate.com and our CLI under a beta channel if you want to help test it out!
You can enable the engine with the following .codeclimate.yml
additions:
---
engines:
credo:
enabled: true
channel: beta
ratings:
paths:
- "**.ex"
- "**.exs"
@freiden Yes! While not mentioned in the release notes, the beta channel for the Credo engine is available on Code Climate: Enterprise as of version 1294, released on October 6th.
Thanks @fazibear I'm looking at it right now but it seems more complex to set it up to the style guide I'm following than I was expecting (I'm more used to something like Rubocop :)).
@freiden If you haven't checked it out already, credo has some documentation on that here and you can reference Credo's own .credo.exs as a complete example.
It looks like you can reference each individual check to see what parameters are supported. For example, here are the supported parameters for the DuplicatedCode
check:
params: [
mass_threshold: "The minimum mass which a part of code has to have to qualify for this check.",
nodes_threshold: "The number of nodes that need to be found to raise an issue."
]