Rulebearing Playground Coverage Schemas GitHub

ADR-0032: Liveness follows the configuration's format, with named exceptions in the native file

Context

ADR-0007 fails a run when a rule's selecting side matches no module, in every mode. On a real dependency-cruiser repository that makes Rulebearing exit 2 where dependency-cruiser exits 0: the private monorepo of docs/perf.md has one such rule. The way out ADR-0007 gives, allowEmpty: true on the rule, cannot be written in a .dependency-cruiser.* file. dependency-cruiser's configuration schema rejects any key it does not define on a rule, so the file would stop working with dependency-cruiser. What is left is --no-liveness, which turns the check off for every rule, the opposite of what the check is for.

A drop-in that fails where dependency-cruiser passes is not a drop-in, and ADR-0030 already settled the same question for the error count.

Decision

Consequences

Alternatives considered