Skip to content

Commit

Permalink
fix(config): fix broken changelog.config.js structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunnamius committed Nov 28, 2020
1 parent 919db4c commit bd10f44
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions changelog.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ const changelogTitle =

module.exports = {
changelogTitle,
mergePattern: /^Merge pull request #(\d+) from (.*)$/,
mergeCorrespondence: ['id', 'source'],
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES', 'BREAKING'],
// eslint-disable-next-line no-console
warn: console.warn.bind(console),
transform: {
subject: (s) => s.charAt(0).toUpperCase() + s.slice(1)
parserOpts: {
mergePattern: /^Merge pull request #(\d+) from (.*)$/,
mergeCorrespondence: ['id', 'source'],
noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES', 'BREAKING'],
// eslint-disable-next-line no-console
warn: console.warn.bind(console)
},
writerOpts: {
transform: {
subject: (s) => s.charAt(0).toUpperCase() + s.slice(1)
}
}
};

0 comments on commit bd10f44

Please sign in to comment.