Credo.Check.Consistency.UnusedVariableNames (Credo v1.5.0-rc.4) 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.

Link to this section Summary

Link to this section Functions

Link to this function

do_run_on_source_file(exec, source_file, params)

View Source