Nicene is a collection of Credo checks.
Documentation is available at https://hexdocs.pm/nicene.
Add nicene
to your list of dependencies in mix.exs
:
def deps do
[
{:nicene, "~> 0.7.0"}
]
end
Nicene defines Credo.Check
s that you can add to your .credo.exs
, for
example:
%{
configs: [
%{
name: "default",
checks: [
{Nicene.FileAndModuleName, []},
{Nicene.UnnecessaryPatternMatching, []},
{Nicene.FileTopToBottom, []},
]
}
]
}
See the documentation on hex for the list of supported checks and their configuration.