Skip to content

Commit

Permalink
Merge pull request #400 from cah-briangantzler/fix-commitlint
Browse files Browse the repository at this point in the history
Fix:  updated the commitlint.config.js
  • Loading branch information
NullVoxPopuli authored Nov 15, 2021
2 parents 848dbd3 + a1dfe67 commit 4233bc3
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
'use strict';

module.exports = {
extends: ['@commitlint/config-conventional'],
// https://commitlint.js.org/#/reference-rules
// Level [0..2]: 0 disables the rule. For 1 it will be considered a warning for 2 an error.
// Applicable always|never: never inverts the rule.
// Value: value to use for this rule.
rules: {
// 72, the default, is a little short
'header-max-length': [1, 'always', 100],
// Let people use caps
'header-case': [0],
// Let people write sentences
'header-full-stop': [0],
'subject-case': [0],
},
};

0 comments on commit 4233bc3

Please sign in to comment.