Skip to content

Reading what the compiler says

Every build prints Hozo’s diagnostics: @hozo/vite warns per file, and @hozo/metro stops on an error.

Warnings about files in node_modules are left out. They come from packages that ship source, such as @hozo/ui, and you can’t edit those files. An error in one still stops the build. A Vite build or Metro bundle that left warnings out ends with one line counting them. To see them, for example while working on a library from inside an app, set HOZO_SHOW_DEPENDENCY_WARNINGS=1.

To check a whole project without building it, for an agent’s loop or for CI, run the audit:

sh
npx @hozo/cli dry-fit . --format json

Each finding carries its file, location.line and location.column, its code and severity, and a message that says what to change. For example, a role="heading" with no aria-level produces ARIA_INCOMPLETE_PATTERN.

There is no editor or linter plugin, and none is planned (#263). The diagnostics already reach whoever runs the build, and in an agent-driven loop that is the agent.