parser-opts.js 319 B

1234567891011121314
  1. 'use strict'
  2. module.exports = {
  3. headerPattern: /^(\w*)(?:\((.*)\))?: (.*)$/,
  4. headerCorrespondence: [
  5. 'type',
  6. 'scope',
  7. 'subject'
  8. ],
  9. noteKeywords: ['BREAKING CHANGE'],
  10. revertPattern: /^(?:Revert|revert:)\s"?([\s\S]+?)"?\s*This reverts commit (\w*)\./i,
  11. revertCorrespondence: ['header', 'hash']
  12. }