Skip to main content

short_name

Function short_name 

Source
pub fn short_name(check: &str) -> &str
Expand description

A check’s id without its trigger — pre-commit-clippyclippy.

For DISPLAY only, wherever the trigger is already established by a heading or a neighbouring column. Under a pre-commit heading, printing pre-commit-clippy on every row spends eleven columns restating what the heading said. Never write this to config or compare against it: two checks can share a short name, and telling them apart is what the id is for.