Skip to content

Commit

Permalink
fix: updated the commitlint.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cah-brian-gantzler committed Nov 15, 2021
1 parent 848dbd3 commit a1dfe67
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 a1dfe67

Please sign in to comment.