View Source mix recode.gen.config (Recode v0.1.2)
Generates a new config for Recode. Writes the file .recode.exs
in the root directory of the mix
project.
The default config:
alias Recode.Task
[
# Can also be set/reset with "--autocorrect"/"--no-autocorrect".
autocorrect: true,
# With "--dry" no changes will be writen 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,test}/**/*.{ex,exs}"],
formatter: {Recode.Formatter, []},
tasks: [
{Task.AliasExpansion, []},
{Task.AliasOrder, []},
{Task.PipeFunOne, []},
{Task.SinglePipe, []},
{Task.Specs, [only: :visible, exclude: "test/**/*.{ex,exs}"]},
{Task.TestFileExt, []}
]
]