Skip to content

Commit

Permalink
build(git): add commit msg linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Th3S4mur41 authored Sep 13, 2022
1 parent 695870e commit 669911e
Show file tree
Hide file tree
Showing 3 changed files with 3,688 additions and 1 deletion.
8 changes: 8 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'body-max-line-length': [1, 'always', 140],
'footer-max-line-length': [2, 'always', 140],
'header-max-length': [2, 'always', 140]
}
};
Loading

0 comments on commit 669911e

Please sign in to comment.