View Source Credo.Check.Design.TagTODO (Credo v1.7.0)

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

explanation

Explanation

TODO comments are used to remind yourself of source code related things.

Example:

# TODO: move this to a Helper module
defp fun do
  # ...
end

The premise here is that TODO should be dealt with in the near future and are therefore reported by Credo.

Like all Software Design issues, this is just advice and might not be applicable to your project/situation.

check-specific-parameters

Check-Specific Parameters

Use the following parameters to configure this check:

include_doc

:include_doc

Set to true to also include tags from @doc attributes.

This parameter defaults to true.

general-parameters

General Parameters

Like with all checks, general params can be applied.

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