Skip to main content

lint

Function lint 

Source
pub fn lint(
    template: &Value,
    data: Option<&Value>,
    templates: &[Value],
) -> Vec<Issue>
Expand description

Problems with a template, and with data for it when given: its header and parameters, the parameters its body names, literal content a template leaves to its data or theme, and whether it binds to a spec that parses. Without data it binds to sample data.