Skip to content

Instantly share code, notes, and snippets.

@estevanjantsk
Forked from theguuholi/.credo.exs
Created March 7, 2024 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save estevanjantsk/48f76a1407799a71dd3e6f0d38142f17 to your computer and use it in GitHub Desktop.
Save estevanjantsk/48f76a1407799a71dd3e6f0d38142f17 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