CredoEnvvar v0.0.3 CredoEnvvar.Check.Warning.EnvironmentVariablesAtCompileTime View Source

Application.get_env() or System.get_env() should not appear outside def or defp. Since it might be compiled at build time in local or CI. Your production may use wrong ENV variables

Link to this section Summary

Functions

Returns the base priority for the check

Returns the category for the check

Callback implementation for Credo.Check.explanation/0

Callback implementation for Credo.Check.run_on_all?/0

Link to this section Functions

Returns the base priority for the check.

Callback implementation for Credo.Check.base_priority/0.

Returns the category for the check.

Callback implementation for Credo.Check.category/0.

Callback implementation for Credo.Check.explanation/0.

Link to this function explanation_for_params() View Source

Callback implementation for Credo.Check.explanation_for_params/0.

Link to this function filter_out_ops(ast, acc) View Source
Link to this function format_issue(issue_meta, opts) View Source

Callback implementation for Credo.Check.format_issue/2.

Callback implementation for Credo.Check.run_on_all?/0.