-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.credo.exs
More file actions
25 lines (25 loc) · 732 Bytes
/
.credo.exs
File metadata and controls
25 lines (25 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
%{
configs: [
%{
name: "default",
files: %{
included: ["lib/", "test/", "mix.exs"],
excluded: [~r"/_build/", ~r"/deps/"]
},
plugins: [],
requires: [],
strict: true,
color: true,
checks: [
{Credo.Check.Readability.MaxLineLength, max_length: 120},
{Credo.Check.Readability.PredicateFunctionNames, false},
{Credo.Check.Readability.WithSingleClause, false},
{Credo.Check.Readability.AliasOrder, false},
{Credo.Check.Refactor.Nesting, false},
{Credo.Check.Refactor.CyclomaticComplexity, false},
{Credo.Check.Refactor.FunctionArity, false},
{Credo.Check.Readability.ModuleDoc, false}
]
}
]
}