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

Basics

This check is enabled by default.

Learn how to disable it via .credo.exs.

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.

Check-Specific Parameters

There are no specific parameters for this check.

General Parameters

Like with all checks, general params can be applied.

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