What problem does it solve?
Prevent inconsistent naming, architecture boundary violations, and unauthorized Carbon style overrides from entering the codebase by providing executable checks and a rollout policy that can be enforced in PRs and CI.
Core Features & Use Cases
- Naming lint: Enforces file and directory naming conventions and dot-suffix rules for core/infrastructure artifacts.
- Architecture lint: Resolves imports and validates allowed layer boundaries under
compat and strict policies to detect cross-layer violations.
- Carbon style gate: Scans changed front-end styles and blocks use of direct Carbon class overrides or !important outside an allowlist.
- Use Case: Run these checks in PR gates to prevent new violations, run strict reporting in CI for progressive rollout, and eventually flip to hard blocking after stabilization.
Quick Start
Run the naming, architecture, and Carbon style checks in sequence using the provided scripts against the frontend source tree.