Skip to content

Commit

Permalink
fix: ignore skip release commits for commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Oct 12, 2022
1 parent 052cf74 commit 3d277df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
/*
* Ignore commits that don't contribute to a release. Release
* commits often exceed the max. amount of characters because
* of the appended changelog. This ignores those commits.
*/
ignores: [(commit) => commit.includes('[skip release]')],
}

0 comments on commit 3d277df

Please # to comment.