Skip to content

Instantly share code, notes, and snippets.

@theguuholi
Created August 18, 2022 10:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save theguuholi/597e4f09d07c4398d8931697957c9a52 to your computer and use it in GitHub Desktop.
Save theguuholi/597e4f09d07c4398d8931697957c9a52 to your computer and use it in GitHub Desktop.
%{
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