Skip to main content

lgx_finding_code

Function lgx_finding_code 

Source
pub fn lgx_finding_code(kind: &FindingKind) -> String
Expand description

lgx- and the kind’s variant name in kebab case: ImageWithoutAlt → lgx-image-without-alt.

Derived from the variant rather than listed, so a kind the checker adds reaches the editor with a code the moment it exists.