Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #21 from smlx/commitlint-compat
Browse files Browse the repository at this point in the history
chore: add commitlint 4.x compatible config
  • Loading branch information
smlx committed Jul 16, 2021
2 parents 04c9900 + d9fc65b commit 3c2b528
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 3c2b528

Please sign in to comment.