nerves_system_linter v0.4.0 Nerves.System.Linter
Lint defconfig files.
Link to this section 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.
Link to this section Functions
Link to this function
enumerate_checks(defconfig, rules)
Specs
enumerate_checks(Nerves.System.Defconfig.t(), [Nerves.System.Linter.Rule.rule()]) :: Nerves.System.Defconfig.t()
Actually aplies a list of rules on the config.
Link to this function
eval_rules(defconfig)
Specs
eval_rules(Nerves.System.Defconfig.t()) :: Nerves.System.Defconfig.t()
Evaluates the rules that have been built.
Link to this function
file_to_map(file)
Specs
file_to_map(Path.t()) :: Nerves.System.Defconfig.t()
reads a defconfig, and turns it into a map.