View Source Mix Tasks
After including Credo in a project's dependencies (see Installation), there are a number of built-in mix tasks available:
$ mix help | grep -i credo
mix credo # Run code analysis (use `--help` for options)
mix credo.gen.check # Generate a new custom check for Credo
mix credo.gen.config # Generate a new config for Credo
If you want to know more about mix
, check out Introduction to Mix.
Runs Credo's analysis.
Check out Configuration on how to customize inputs and outputs.
Generates a custom Credo check.
Generates a Credo config file.
Check out Configuration on how to customize it.