run_lint

Function run_lint 

Source
pub fn run_lint(
    raw_commit: &str,
    config: &Config,
) -> Result<ParsedCommit, SumiError>
Expand description

Lints and parses the given commit message. Returns a ParsedCommit struct if the commit is valid, or an error message if it is not.