UNPKG

conventional-changelog-angular

Version:
14 lines (13 loc) 361 B
export function createParserOpts() { return { headerPattern: /^(\w*)(?:\((.*)\))?: (.*)$/, headerCorrespondence: [ 'type', 'scope', 'subject' ], noteKeywords: ['BREAKING CHANGE'], revertPattern: /^(?:Revert|revert:)\s"?([\s\S]+?)"?\s*This reverts commit (\w{7,40})\b/i, revertCorrespondence: ['header', 'hash'] } }