Skip to main content

validate_scope

Function validate_scope 

Source
pub fn validate_scope(scope: &str) -> Vec<String>
Expand description

Validate a commit scope.

Returns a list of human-readable error strings (empty when valid). An empty scope is always valid.