Credo.Check.Warning.IoInspect (Credo v1.5.0) View Source

This check has a base priority of high and works with any version of Elixir.

Explanation

While calls to IO.inspect might appear in some parts of production code, most calls to this function are added during debugging sessions.

This check warns about those calls, because they might have been committed in error.

Configuration parameters

There are no specific parameters for this check.

Like with all checks, general params can be applied.

Parameters can be configured via the .credo.exs config file.