Skip to content

Plugin for Credo to produce CodeClimate-compatible JSON output

License

Notifications You must be signed in to change notification settings

hauleth/credo_code_climate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CredoCodeClimate

Generate CodeClimate report of the Credo lint.

Installation

If available in Hex, the package can be installed by adding credo_code_climate to your list of dependencies in mix.exs:

def deps do
  [
    {:credo_code_climate, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/credo_code_climate.

Usage

Add {CredoCodeClimate, []} to list of plugins in .credo.exs (if you have no such file then first generate it via mix credo.gen.config).

Options

  • :path - where the generated report will be stored. Defaults to codeclimate.json in the root directory.