forked from lexical-lsp/lexical
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.credo.exs
25 lines (25 loc) · 801 Bytes
/
.credo.exs
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/", "src/", "web/", "apps/"],
excluded: ["apps/remote_control/test/fixtures/**/*.ex", "apps/common/lib/future/**/*.ex"]
},
plugins: [],
requires: [],
strict: true,
parse_timeout: 5000,
color: true,
checks: [
{Credo.Check.Design.AliasUsage, if_nested_deeper_than: 3, if_called_more_often_than: 1},
{Credo.Check.Readability.AliasOrder, []},
{Credo.Check.Readability.ModuleDoc, false},
{Credo.Check.Readability.PreferImplicitTry, false},
{Credo.Check.Refactor.CyclomaticComplexity, max_complexity: 10},
{Credo.Check.Refactor.Nesting, max_nesting: 3},
{Credo.Check.Refactor.PipeChainStart, []}
]
}
]
}