TallariumCredo.Checks.NoRuntimeAccess (tallarium_credo v0.1.0)
This check has a base priority of high
and works with any version of Elixir.
explanation
Explanation
Disallows runtime access to the specified modules. This is useful for ensuring that modules are only accessed at compile time, for example to access module attributes.
check-specific-parameters
Check-Specific Parameters
Use the following parameters to configure this check:
modules
:modules
Modules to disallow access to.
This parameter defaults to nil
.
general-parameters
General Parameters
Like with all checks, general params can be applied.
Parameters can be configured via the .credo.exs
config file.