layercheck

command
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command layercheck reports ADR 0001's layer rule against omatty's own import graph (#620).

go run ./tools/layercheck            # report; always exits 0
go run ./tools/layercheck -enforce   # exit 1 on any finding

Report-only until the migration's last PR adds -enforce to CI. Until then the count is the migration's backlog: each PR that moves a package should take it down, and one that raises it has broken the direction ADR 0001 set. The same measure-then-enforce order took the Stable Dependencies check from report to gate (#263, #269).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL