Credo v1.4.0 Credo.Check.Consistency.UnusedVariableNames View Source

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

Explanation

Elixir allows us to use _ as a name for variables that are not meant to be used. But it’s a common practice to give these variables meaningful names anyway (_user instead of _), but some people prefer to name them all _.

A single style should be present in the same codebase.

Configuration parameters

There are no parameters for this check.