This is simple plugin that will output CodeClimate-compatible JSON containing messages from Credo. This is useful when used together with GitLab Code Quality reporting, like that:
lint:credo:
  stage: lint
  script:
    - mix credo
  dependencies:
    - compile:test
  artifacts:
    reports:
      codequality: codeclimate.json
  allow_failure: true
  needs: ['compile:test']
Hex:
Source:
Usage is super simple:
- Add 
{:credo_code_climate, "~> 0.1.0", only: :dev, runtime: false}to dependencies list inmix.exs. - Add 
{CredoCodeClimate, []}to plugin list in.credo.exs(you may need to generate that file withmix credo.gen.configfirst). 
Now when you will run mix credo it will produce file codeclimate.json in your current working directory, that contain CodeClimate-compatible JSON result of lint.




















