conventional-changelog-action/node_modules/conventional-changelog-angular/parser-opts.js

14 lines
319 B
JavaScript

'use strict'
module.exports = {
headerPattern: /^(\w*)(?:\((.*)\))?: (.*)$/,
headerCorrespondence: [
`type`,
`scope`,
`subject`
],
noteKeywords: [`BREAKING CHANGE`],
revertPattern: /^(?:Revert|revert:)\s"?([\s\S]+?)"?\s*This reverts commit (\w*)\./i,
revertCorrespondence: [`header`, `hash`]
}