Skip to content

Recommit - A (Conventional) Git Commits processor powered by plugins

License

Notifications You must be signed in to change notification settings

recommit/recommit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

recommit

Recommit - A (Conventional) Git Commits processor powered by plugins

Probably a continuation of the parse-commit-message, commitlint and the related libraries stack.

AST Nodes

This draft represents the "Recommit AST", extended from the base Unist AST by the unifiedjs collective.

Root

interface Root {
  type: 'root',
  children: [
    Header,
    Body,
    Footer,
  ],
  position: Position?,
}

Header

interface Header {
  type: 'header',
  value: {
    type: string,
    scope: string | null;
    subject: string;
  },
  position: Position?,
}

Body

interface Body {
  type: 'body',
  value: string,
  position: Position?,
}

Footer

interface Footer {
  type: 'footer',
  value: string,
  position: Position?,
}

About

Recommit - A (Conventional) Git Commits processor powered by plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published