Skip to content

Commit

Permalink
Add exclude to valid verbs (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdothtml authored Jan 10, 2020
1 parent 7504766 commit a0bee01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions __tests__/validate-title.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ test('valid commits pass', () => {
'Sync pr from other repo',
'Emit stats from the browser',
'Wrap flaky check in try/catch',
'Exclude merge commits in co-author collection',
];

valid.forEach(msg => {
Expand Down
1 change: 1 addition & 0 deletions validate-title.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const nounWhitelist = new Set([
'emit',
'audit',
'wrap',
'exclude',
]);

function isSingleSentence(sentences) {
Expand Down

0 comments on commit a0bee01

Please sign in to comment.