A small, versioned catalog of reusable LintPal review mandates. Each Markdown file contains one narrow requirement and explicit severity and decision threshold policy.
Pin imports to a release tag so that rule changes arrive through an explicit dependency update:
lintpal rule import github:diffpal/lintpal-rules//[email protected]
lintpal rule import github:diffpal/lintpal-rules//[email protected]
lintpal rule validateUse a prefix when a project already has rules with the same IDs:
lintpal rule import github:diffpal/lintpal-rules//[email protected] --prefix upstreamImported rules are copied into .lintpal/rules/. Review and commit them with the project. LintPal resolves the tag to a commit during import; lint runs use the committed local copies.
The catalog requires LintPal 0.4.0 or newer. LintPal 0.3.x used the earlier pack format and cannot import these rule directories.
authorization.mdrequires resource and action authorization.input-validation.mdrequires constraints on untrusted input.secret-handling.mdprevents secret disclosure and unsafe storage.
checked-errors.mdrequires meaningful errors to be handled or returned.context-propagation.mdpreserves request cancellation and deadlines.goroutine-lifecycle.mdrequires a bounded goroutine lifetime.
Install LintPal 0.4.0 or newer, then run:
./scripts/validate.shThe script imports each catalog independently, validates the combined catalog, and confirms malformed rule metadata is rejected.
MIT. See LICENSE.