Credo.Check.format_issue
You're seeing just the function
format_issue
, go back to Credo.Check module for more information.
format_issue takes an issue_meta and returns an issue.
The resulting issue can be made more explicit by passing the following
options to format_issue/2
:
:priority
Sets the issue's priority.:trigger
Sets the issue's trigger.:line_no
Sets the issue's line number. Tries to findcolumn
if:trigger
is supplied.:column
Sets the issue's column.:exit_status
Sets the issue's exit_status.:severity
Sets the issue's severity.