Rule
Reference
Every check pkglint runs, grouped by what it protects. Each rule has a page with a flagged and a preferred example.
A package is graded by its worst finding, so one critical outweighs any number of
smaller notes. The severity beside each rule below is what it reports; a rule that
weighs what it found — an eval of a downloaded script is worse than an
eval — shows the range it spans.
Rules tagged {{template "fixpill" .FixSafe}} are rewritten in place by
pkglint --fix, which never changes what the build does. Rules tagged
{{template "fixpill" .FixUnsafe}} are mechanical too, but they do change it, so read the
diff. Adding # pkglint: ignore=PB123 above a line suppresses a case you have
already reviewed.
{{.Title}}
| Rule | Name{{$.WidestName}} | Severity{{template "sevpills" $.WidestSeverity}} | Fix{{template "fixpill" $.FixUnsafe}} | Description |
|---|---|---|---|---|
| {{.ID}} | {{.Name}} | {{template "sevpills" .Severities}} | {{template "fixpill" .FixLevel}} | {{doc .Doc}} |