Skip to content

Commit

Permalink
chore(hub-common): allow commits that start w/ 'pr:' to address PR re…
Browse files Browse the repository at this point in the history
…view
  • Loading branch information
tomwayson committed Sep 23, 2021
1 parent 65149c4 commit e344283
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ const Configuration = {
/*
* Functions that return true if commitlint should ignore the given message.
*/
ignores: [(commit) => commit === ''],
ignores: [
// empty commit messages
(commit) => commit === '',
// pr feedback
(commit) => /^PR:/i.test(commit)
],
/*
* Whether commitlint uses the default ignore rules.
*/
Expand Down

0 comments on commit e344283

Please sign in to comment.