Skip to content

Commit

Permalink
Merge pull request #41 from smlx/compat-commitlint
Browse files Browse the repository at this point in the history
chore: add compat config file for new commitlint version
  • Loading branch information
smlx committed Jul 16, 2021
2 parents 285b55f + 32d6bf6 commit e640427
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const Configuration = {
/*
* Resolve and load @commitlint/config-conventional from node_modules.
* Referenced packages must be installed
*/
extends: ['@commitlint/config-conventional'],
/*
* Any rules defined here will override rules from @commitlint/config-conventional
*/
rules: {
'body-max-line-length': [1, 'always', 80],
},
};

module.exports = Configuration;

0 comments on commit e640427

Please sign in to comment.