generated from divlook/ts-library-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconventionalcommits.config.js
25 lines (23 loc) · 1.12 KB
/
conventionalcommits.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* eslint-disable @typescript-eslint/no-var-requires */
const config = require('conventional-changelog-conventionalcommits')
/**
* @see https://github.com/conventional-changelog/conventional-changelog-config-spec/blob/master/versions/2.2.0/README.md
*/
module.exports = config({
// issuePrefixes: ['BUG-'],
// issueUrlFormat: 'https://jira.example.com/browse/{{prefix}}{{id}}',
types: [
{ type: 'feat', section: 'Features' },
{ type: 'feature', section: 'Features' },
{ type: 'fix', section: 'Bug Fixes' },
{ type: 'perf', section: 'Performance Improvements' },
{ type: 'revert', section: 'Reverts' },
{ type: 'docs', section: 'Documentation', hidden: false },
{ type: 'style', section: 'Styles', hidden: true },
{ type: 'chore', section: 'Miscellaneous Chores', hidden: false },
{ type: 'refactor', section: 'Code Refactoring', hidden: false },
{ type: 'test', section: 'Tests', hidden: true },
{ type: 'build', section: 'Build System', hidden: false },
{ type: 'ci', section: 'Continuous Integration', hidden: false },
],
})