View Source Credo.IssueMeta (Credo v1.7.8)

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).

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.

Types

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

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.