Recommit - A (Conventional) Git Commits processor powered by plugins
Probably a continuation of the parse-commit-message, commitlint and the related libraries stack.
This draft represents the "Recommit AST", extended from the base Unist AST by the unifiedjs collective.
interface Root {
type: 'root',
children: [
Header,
Body,
Footer,
],
position: Position?,
}
interface Header {
type: 'header',
value: {
type: string,
scope: string | null;
subject: string;
},
position: Position?,
}
interface Body {
type: 'body',
value: string,
position: Position?,
}
interface Footer {
type: 'footer',
value: string,
position: Position?,
}