Skip to main content

validate_code

Function validate_code 

Source
pub fn validate_code(node: &Node, file_name: &str) -> Vec<AgmError>
Expand description

Validates all code blocks on a node (both code and code_blocks).

Rules: V008 (missing lang, empty body, replace without old, insert without anchor, secret detection), V015 (unsafe target path).