/codeclimate-credo

Code Climate Credo Engine

Primary LanguageElixir

Code Climate Credo Engine

Code Climate engine for Credo a static code analysis tool for the Elixir Language.

Configure

You can configure this engine with the following options in your .codeclimate.yml file:

engines:
  credo:
    enabled: true
    strict: true
    all: true
    only: "warning"
    ignore: "readability"
    included: 
     - "some_path/"
     - "some_other_path/"
    excluded:
     - "some_path/"
     - "some_other_path/"
  • strict - if you want to enforce a style guide and need a more traditional linting experience
  • all - if you want to use all checkers
  • only - run only a subset of checks
  • ignore - ignore selected checks
  • included - include any paths you wish to analyze
  • excluded - exclude any paths you don't want to analyze

For more information check credo repository.

.credo.exs

You can configure this engine in .credo.exs file within your project. More informations is available here.

Note: any settings configured in your .codeclimate.yml configuration will override your .credo.exs configuration.