AshCredo (ash_credo v0.15.0)

Copy Markdown View Source

Credo checks for Ash Framework.

Provides pre-built checks that detect common Ash anti-patterns. Some checks analyse unexpanded source AST; others introspect the compiled modules to see the fully-resolved DSL state, including anything Spark transformers and extensions contribute.

Checks that introspect compiled modules require the project to be compiled before running mix credo (for example via a Mix alias like lint: ["compile", "credo --strict"]); otherwise they emit a configuration diagnostic and become a no-op.

Plugin Usage

Add to your .credo.exs:

%{configs: [%{
  name: "default",
  plugins: [{AshCredo, []}]
}]}

Summary

Functions

init(exec)