/credo_codeclimate

Credo plugin for writing the CodeClimate-like report file.

Primary LanguageElixir

CredoCodeClimate

Credo plugin for writing the CodeClimate-like report file.

This plugin generates a CodeClimate-like report file used by GitLab Code Quality.

Installation

Add credo_codeclimate to your list of dependencies in mix.exs:

def deps do
  [
    {:credo_codeclimate, github: "wigny/credo_codeclimate", tag: "0.1.1", only: [:dev, :test], runtime: false}
  ]
end

And add the plugin to your .credo.exs config file:

%{
  configs: [
    %{
      name: "default",
      plugins: [
        {CredoCodeClimate, report_file: "./gl-code-quality-report.json"}
      ]
    }
  ]
}