ExQuality.Stages.Credo (ExQuality v0.5.0)

View Source

Runs Credo static analysis on the codebase.

Executes mix credo --strict (configurable) with MIX_ENV=dev. Parses issue count and categories, extracting file:line references for actionable feedback.

Note: Credo does not support auto-fix. All issues must be manually resolved.

Summary

Functions

Runs the credo stage.

Functions

run(config)

@spec run(keyword()) :: ExQuality.Stage.result()

Runs the credo stage.

Config options

  • strict - Use --strict mode (default: true)
  • all - Use --all flag to check all files (default: false)