nerves_system_linter v0.4.0 Nerves.System.Linter.Rule.Checks
Actual check implementation for the Callbacks module.
Link to this section Summary
Link to this section Functions
Link to this function
ensure_bool(defconfig, config, bool, opts \\ [])
Specs
ensure_bool( Nerves.System.Defconfig.t(), Nerves.System.Defconfig.config_name(), boolean(), Nerves.System.Linter.Rule.Callbacks.args() ) :: Nerves.System.Defconfig.t()
Ensures a boolean value.
Link to this function
ensure_package(defconfig, package_name, opts \\ [])
Specs
ensure_package( Nerves.System.Defconfig.t(), Nerves.System.Defconfig.config_name(), Nerves.System.Linter.Rule.Callbacks.args() ) :: Nerves.System.Defconfig.t()
Ensures a package is enabled.
Link to this function
ensure_value(defconfig, config, value, opts \\ [])
Specs
ensure_value( Nerves.System.Defconfig.t(), Nerves.System.Defconfig.config_name(), Nerves.System.Defconfig.package_value(), Nerves.System.Linter.Rule.Callbacks.args() ) :: Nerves.System.Defconfig.t()
Ensures a value.
Link to this function
ensure_value_match(defconfig, package_name, pattern, opts \\ [])
Link to this function