View Source Credo.IssueMeta (Credo v1.7.0)

IssueMeta provides helper functions for meta information which a check wants to pass to the issue_for(...) function, i.e. the current SourceFile and check params (by default).

Link to this section Summary

Functions

Returns an issue meta tuple for the given source_file and check_params.

Returns the check params for the given issue_meta.

Returns the source file for the given issue_meta.

Link to this section Types

@type t() :: {Credo.IssueMeta, Credo.SourceFile.t(), Keyword.t()}

Link to this section Functions

Link to this function

for(source_file, check_params)

View Source

Returns an issue meta tuple for the given source_file and check_params.

Returns the check params for the given issue_meta.

Returns the source file for the given issue_meta.