View Source Credo (Credo v1.7.8)
Credo builds upon four building blocks:
Credo.CLI
- everything related to the command line interface (CLI), which orchestrates the analysisCredo.Execution
- a struct which is handed down the pipeline during analysisCredo.Check
- the default Credo checksCredo.Code
- all analysis tools used by Credo during analysis
Summary
Functions
Runs Credo with the given argv
and returns its final Credo.Execution
struct.
Functions
Runs Credo with the given argv
and returns its final Credo.Execution
struct.
Example:
iex> exec = Credo.run(["--only", "Readability"])
iex> issues = Credo.Execution.get_issues(exec)
iex> Enum.count(issues) > 0
true