Credo.Check.Design.TagTODO (Credo v1.5.2) View Source
This check has a base priority of 0 and works with any version of Elixir.
Explanation
TODO comments are used to remind yourself of source code related things.
Example:
# TODO: move this to a Helper module
defp fun do
# ...
endThe 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.
Configuration parameters
Use the following parameters to configure this check:
include_doc: Set totrueto also include tags from @doc attributes.Defaults to
true
Like with all checks, general params can be applied.
Parameters can be configured via the .credo.exs config file.