Credo checks for the Ash Framework.
The plugin provides pre-built checks that detect common Ash anti-patterns. Some checks analyse the unexpanded source AST, while others introspect the compiled modules to see the fully resolved DSL state, including everything Spark transformers and extensions contribute.
Checks that introspect compiled modules need 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 this to your .credo.exs:
%{configs: [%{
name: "default",
plugins: [{AshCredo, []}]
}]}