Skip to content

Commit

Permalink
ci: Adjust commitlint to allow more subject case types
Browse files Browse the repository at this point in the history
  • Loading branch information
trallnag committed Aug 21, 2022
1 parent 1b0294a commit 8b630aa
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
module.exports = {extends: ['@commitlint/config-conventional']}
"use strict"

module.exports = {
extends: ["@commitlint/config-conventional"],

rules: {
"subject-case": [
2,
"always",
["sentence-case", "start-case", "pascal-case", "upper-case"],
],
},
}

0 comments on commit 8b630aa

Please sign in to comment.