Basics
This check is disabled by default.
Learn how to enable it via .credo.exs.
This check has a base priority of high and works with any version of Elixir.
Explanation
Mailable tracking requires an explicit :bulk or :operational stream.
Check-Specific Parameters
Use the following parameters to configure this check:
:mailable_module
Module used to identify mailable modules (use Mailglass.Mailable).
This parameter defaults to Mailglass.Mailable.
:included_path_prefixes
Only files in these path prefixes are linted. Scoped to production mailables; test fixtures deliberately declare tracking on :transactional to exercise the runtime auth-stream guard, so linting them would be a false positive.
This parameter defaults to ["lib/mailglass/", "mailglass_inbound/lib/"].
General Parameters
Like with all checks, general params can be applied.
Parameters can be configured via the .credo.exs config file.