Nerves.System.Linter (nerves_system_linter v0.4.1)
Lint defconfig files.
Summary
Functions
Actually aplies a list of rules on the config.
Evaluates the rules that have been built.
reads a defconfig, and turns it into a map.
Functions
@spec enumerate_checks(Nerves.System.Defconfig.t(), [Nerves.System.Linter.Rule.rule()]) :: Nerves.System.Defconfig.t()
Actually aplies a list of rules on the config.
@spec eval_rules(Nerves.System.Defconfig.t()) :: Nerves.System.Defconfig.t()
Evaluates the rules that have been built.
@spec file_to_map(Path.t()) :: Nerves.System.Defconfig.t()
reads a defconfig, and turns it into a map.