conventions

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package conventions holds tests that enforce the repository's own conventions — the ones that are house rules rather than compiler or linter rules, and that would otherwise be enforced only by whoever happens to review a diff.

It follows the precedent of TestHelp in internal/cmd/root, which turns the 40-line --help budget from a guideline into a failing build. A convention that only exists in agents/ drifts: the test files that predate the rules here are the evidence, and they are listed in the allowlists as the to-do list they are.

The package deliberately contains no production code — nothing imports it.

Jump to

Keyboard shortcuts

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