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

Actually aplies a list of rules on the config.

Link to this function

eval_rules(defconfig)

Specs

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.