Skip to main content

print_text

Function print_text 

Source
pub fn print_text(listings: &[CheckListing], all: bool)
Expand description

Every check that would run here, and one line for the ones that would not.

The default used to print all thirty-odd rows interleaved alphabetically. In a repository amont serves well that is about half inert; in one built on a stack it does not cover yet it is two thirds — and every one of those rows names somebody else’s language. Read top to bottom it says “this tool is for other people”, which is the opposite of true: the checks that DO run are secrets, large-files and merge-conflict, the ones that prevent incidents in any repository at all.

So the inert rows collapse to a count and the ecosystems they belong to. --all brings them back, because “why is clippy not running” is a real question with a real answer already written.

Skipped and unusable rows are never collapsed. ⊘ means somebody silenced a check and ✗ means a declaration is broken; both are things the reader has to act on, and both would be lost in a count.