forked from hrzndhrn/recode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrecode.exs
More file actions
26 lines (24 loc) · 779 Bytes
/
recode.exs
File metadata and controls
26 lines (24 loc) · 779 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
alias Recode.Task
# A recode config to run recode with recode. This config excludes the test
# directory.
[
# Can also be set/reset with "--autocorrect"/"--no-autocorrect".
autocorrect: true,
# With "--dry" no changes will be written to the files.
# Can also be set/reset with "--dry"/"--no-dry".
# If dry is true then verbose is also active.
dry: false,
# Can also be set/reset with "--verbose"/"--no-verbose".
verbose: false,
inputs: ["{config,lib}/**/*.{ex,exs}"],
formatter: {Recode.Formatter, []},
tasks: [
{Task.AliasExpansion, []},
{Task.AliasOrder, []},
{Task.PipeFunOne, []},
{Task.SinglePipe, []},
{Task.Specs, [only: :visible, exclude: "test/**/*.{ex,exs}"]},
{Task.TestFileExt, []},
{Task.UnusedVariable, []}
]
]