|
|
@ -74,7 +74,6 @@ |
|
|
|
# |
|
|
|
# |
|
|
|
{Credo.Check.Design.TagTODO, exit_status: 2}, |
|
|
|
{Credo.Check.Design.TagTODO, exit_status: 2}, |
|
|
|
{Credo.Check.Design.TagFIXME}, |
|
|
|
{Credo.Check.Design.TagFIXME}, |
|
|
|
|
|
|
|
|
|
|
|
{Credo.Check.Readability.FunctionNames}, |
|
|
|
{Credo.Check.Readability.FunctionNames}, |
|
|
|
{Credo.Check.Readability.LargeNumbers}, |
|
|
|
{Credo.Check.Readability.LargeNumbers}, |
|
|
|
{Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 100}, |
|
|
|
{Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 100}, |
|
|
@ -92,7 +91,6 @@ |
|
|
|
{Credo.Check.Readability.VariableNames}, |
|
|
|
{Credo.Check.Readability.VariableNames}, |
|
|
|
{Credo.Check.Readability.Semicolons}, |
|
|
|
{Credo.Check.Readability.Semicolons}, |
|
|
|
{Credo.Check.Readability.SpaceAfterCommas}, |
|
|
|
{Credo.Check.Readability.SpaceAfterCommas}, |
|
|
|
|
|
|
|
|
|
|
|
{Credo.Check.Refactor.DoubleBooleanNegation}, |
|
|
|
{Credo.Check.Refactor.DoubleBooleanNegation}, |
|
|
|
{Credo.Check.Refactor.CondStatements}, |
|
|
|
{Credo.Check.Refactor.CondStatements}, |
|
|
|
{Credo.Check.Refactor.CyclomaticComplexity}, |
|
|
|
{Credo.Check.Refactor.CyclomaticComplexity}, |
|
|
@ -104,7 +102,6 @@ |
|
|
|
{Credo.Check.Refactor.Nesting}, |
|
|
|
{Credo.Check.Refactor.Nesting}, |
|
|
|
{Credo.Check.Refactor.PipeChainStart}, |
|
|
|
{Credo.Check.Refactor.PipeChainStart}, |
|
|
|
{Credo.Check.Refactor.UnlessWithElse}, |
|
|
|
{Credo.Check.Refactor.UnlessWithElse}, |
|
|
|
|
|
|
|
|
|
|
|
{Credo.Check.Warning.BoolOperationOnSameValues}, |
|
|
|
{Credo.Check.Warning.BoolOperationOnSameValues}, |
|
|
|
{Credo.Check.Warning.ExpensiveEmptyEnumCheck}, |
|
|
|
{Credo.Check.Warning.ExpensiveEmptyEnumCheck}, |
|
|
|
{Credo.Check.Warning.IExPry}, |
|
|
|
{Credo.Check.Warning.IExPry}, |
|
|
@ -128,7 +125,7 @@ |
|
|
|
{Credo.Check.Refactor.AppendSingleItem}, |
|
|
|
{Credo.Check.Refactor.AppendSingleItem}, |
|
|
|
{Credo.Check.Refactor.VariableRebinding}, |
|
|
|
{Credo.Check.Refactor.VariableRebinding}, |
|
|
|
{Credo.Check.Warning.MapGetUnsafePass}, |
|
|
|
{Credo.Check.Warning.MapGetUnsafePass}, |
|
|
|
{Credo.Check.Consistency.MultiAliasImportRequireUse}, |
|
|
|
{Credo.Check.Consistency.MultiAliasImportRequireUse} |
|
|
|
|
|
|
|
|
|
|
|
# Custom checks can be created using `mix credo.gen.check`. |
|
|
|
# Custom checks can be created using `mix credo.gen.check`. |
|
|
|
# |
|
|
|
# |
|
|
|