File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 2727*/
2828var config = { } ;
2929
30+ /**
31+ * Link to commit guidance.
32+ *
33+ * @name helpUrl
34+ * @memberof config
35+ * @type {string }
36+ */
37+ config [ 'helpUrl' ] = 'https://github.com/stdlib-js/stdlib/tree/develop/docs/style-guides/git' ;
38+
3039/**
3140* Commit message parser.
3241*
Original file line number Diff line number Diff line change @@ -33,7 +33,13 @@ var config = require( 'conventional-changelog-conventionalcommits' );
3333*/
3434var conf = config ( {
3535 // Define an array of prefixes used to detect references to issues:
36- 'issuePrefixes' : [ '#' ]
36+ 'issuePrefixes' : [
37+ '#' ,
38+ 'gh-'
39+ ] ,
40+
41+ // Define a pattern to match a reverted commit:
42+ 'revertPattern' : / ^ R e v e r t \s ( [ \s \S ] * ) \s * T h i s r e v e r t s c o m m i t ( \w * ) \. /
3743} ) ;
3844
3945
You can’t perform that action at this time.
0 commit comments