ZebbraCredo.Presets.ForbiddenCalls (zebbra_credo v1.0.0)

Copy Markdown View Source

The house ZebbraCredo.Check.ForbiddenCalls rules, derived from an ZebbraCredo.App.t/0. Each key names one rule or a group of related rules; except: of the check drops keys.

Summary

Functions

The rule keys that rules/2 accepts in except.

The preset's rules for app, without the rules of the except keys. Raises on an unknown key.

Functions

keys()

@spec keys() :: [atom()]

The rule keys that rules/2 accepts in except.

rules(app, except \\ [])

@spec rules(ZebbraCredo.App.t(), [atom()]) :: [keyword()]

The preset's rules for app, without the rules of the except keys. Raises on an unknown key.