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

enumerate_checks(defconfig, rules)

Actually aplies a list of rules on the config.

eval_rules(defconfig)

Evaluates the rules that have been built.

file_to_map(file)

@spec file_to_map(Path.t()) :: Nerves.System.Defconfig.t()

reads a defconfig, and turns it into a map.