-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
52 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[ | ||
version: "0.7.2", | ||
# 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, | ||
# Enables or disables color in the output. | ||
color: true, | ||
# Can also be set/reset with `--verbose`/`--no-verbose`. | ||
verbose: false, | ||
# Can be overwritten by calling `mix recode "lib/**/*.ex"`. | ||
inputs: ["{mix,.formatter}.exs", "{apps,config,lib,test}/**/*.{ex,exs}"], | ||
formatters: [Recode.CLIFormatter], | ||
tasks: [ | ||
# Tasks could be added by a tuple of the tasks module name and an options | ||
# keyword list. A task can be deactivated by `active: false`. The execution of | ||
# a deactivated task can be forced by calling `mix recode --task ModuleName`. | ||
{Recode.Task.AliasExpansion, []}, | ||
{Recode.Task.AliasOrder, []}, | ||
{Recode.Task.Dbg, [autocorrect: false]}, | ||
{Recode.Task.EnforceLineLength, [active: false]}, | ||
{Recode.Task.FilterCount, []}, | ||
{Recode.Task.IOInspect, [autocorrect: false]}, | ||
{Recode.Task.Nesting, []}, | ||
{Recode.Task.PipeFunOne, []}, | ||
{Recode.Task.SinglePipe, []}, | ||
{Recode.Task.Specs, [exclude: ["test/**/*.{ex,exs}", "mix.exs"], config: [only: :visible]]}, | ||
{Recode.Task.TagFIXME, [exit_code: 2]}, | ||
{Recode.Task.TagTODO, [exit_code: 4]}, | ||
{Recode.Task.TestFileExt, []}, | ||
{Recode.Task.UnusedVariable, [active: false]} | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters