Skip to content

Commit

Permalink
fix: put back commintlint config because the server will need it
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeWallaceDev committed Jul 25, 2022
1 parent c45e451 commit db2a273
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// module.exports = {extends: ['@commitlint/config-conventional']}
module.exports = {
rules: {
'header-max-length': [2, 'always', 100],

'type-enum': [2, 'always', ['build', 'chore', 'ci', 'docs', 'feat', 'feature', 'fix', 'refactor', 'style', 'test']],
'type-empty': [2, 'never'],
'type-case': [2, 'always', 'lower-case'],

'subject-empty': [2, 'never'],
'subject-case': [
0,
'never',
['sentence-case', 'start-case', 'pascal-case', 'upper-case'],
],

'body-leading-blank': [2, 'always'],
'body-max-line-length': [2, 'always', 200],
'body-case': [0, 'never', []],

'footer-leading-blank': [1, 'always'],
'footer-max-line-length': [2, 'always', 100]
},
};

0 comments on commit db2a273

Please sign in to comment.