Created
August 18, 2022 10:04
-
-
Save theguuholi/597e4f09d07c4398d8931697957c9a52 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
%{ | |
configs: [ | |
%{ | |
name: "default", | |
files: %{ | |
included: ~w{config lib test} | |
}, | |
strict: true, | |
color: true, | |
checks: [ | |
# https://hexdocs.pm/credo/1.4.0/config_file.html | |
{Credo.Check.Readability.ModuleDoc, false}, | |
{Credo.Check.Readability.MaxLineLength, max_length: 100}, | |
{Credo.Check.Consistency.TabsOrSpaces}, | |
{Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 100}, | |
{Credo.Check.Design.TagTODO, exit_status: 2}, | |
{Credo.Check.Refactor.MapInto, false}, | |
{Credo.Check.Warning.LazyLogging, false} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment