lightsoutAlpha

lightsout standards-validate

Test each rule in a standards library against its own good and bad examples, so a rule that stops catching what it should fails loudly.

When to reach for it

Run it after writing or editing a rule or a pack file, and in CI for a library you ship. It proves each check still passes its own pass fixtures and still fails its fail fixtures, and that every pack file resolves: its include entries exist, its rule-settings name rules in the pack, and no packs include each other in a cycle.

How to run it

  • lightsout standards-validate
    run every check against its own fixtures
--library <path>
Validate the library at this folder.Left out: The built-in lightsout library.
--cwd <path>
Repository whose standards-libraries the validated library’s packs resolve against.Left out: The process working directory.

Related commands