Credo.run

You're seeing just the function run, go back to Credo module for more information.

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
Link to this function

run(argv_or_exec, files_that_changed)

View Source