-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.credo.exs
More file actions
26 lines (23 loc) · 704 Bytes
/
.credo.exs
File metadata and controls
26 lines (23 loc) · 704 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
26
%{
configs: [
%{
name: "default",
files: %{
included: ["lib/", "src/"],
excluded: ["test"]
},
checks: [
{Credo.Check.Consistency.TabsOrSpaces},
# For others you can also set parameters
{Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 100},
# You can also customize the exit_status of each check.
# If you don't want TODO comments to cause `mix credo` to fail, just
# set this value to 0 (zero).
{Credo.Check.Design.TagTODO, exit_status: 2},
# To deactivate a check:
# Put `false` as second element:
{Credo.Check.Design.TagFIXME, false},
]
}
]
}