Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

civilcode/civil-credo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CivilCredo

CivilCode's in-house Credo rules.

Installation

To your list of dependencies in mix.exs:

def deps do
  [
    {:civil_credo, github: "civilcode/civil-credo", only: [:dev, :test], runtime: false},
  ]
end

and .credo.exs.

%{
  configs: [
    %{
      name: "default",
      # 1. Configure the plugin
      plugins: [
        {CivilCredo, []}
      ]
    }
  ]
  checks: [
    # 2. Add this after existing checks
    # Custom checks from Plugin
    #
    {CivilCredo.Check.Design.TagWip, []},
    {CivilCredo.Check.Warning.UnsafeStruct, []}
  ]
}

About the CivilCode Collective

The CivilCode Collective, a group of freelance developers, build tailored business applications in Elixir and Phoenix in Montreal, Canada.

Releases

No releases published

Packages

No packages published

Languages