mirror of
https://github.com/mitchell/shortnr.git
synced 2025-12-17 05:17:22 +00:00
Setup Dialyxir and Credo code analyzers:
- Refactor codebase according to analyzers
This commit is contained in:
parent
593f29d271
commit
b699e661e2
15 changed files with 74 additions and 44 deletions
|
|
@ -16,3 +16,9 @@ config :logger, :console,
|
|||
:prod -> :info
|
||||
_ -> :debug
|
||||
end).(Mix.env())
|
||||
|
||||
config :credo,
|
||||
checks: [
|
||||
{Credo.Check.Refactor.MapInto, false},
|
||||
{Credo.Check.Warning.LazyLogging, false}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue