Skip to content

Commit

Permalink
ci: add .commitlintrc.mjs
Browse files Browse the repository at this point in the history
refs: RATYK-43
  • Loading branch information
voneiden committed Jan 8, 2025
1 parent 610f1f7 commit 51a6d4c
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .commitlintrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
export default {
extends: [
'@commitlint/config-conventional'
],
ignores: [
(message) => message.includes('Signed-off-by: dependabot[bot]')
],
rules: {
'header-max-length': [
2,
'always',
72
],
'body-max-line-length': [
2,
'always',
72
],
'body-leading-blank': [
2,
'always'
],
'type-enum': [
2,
'always',
[
'build',
'chore',
'ci',
'deps',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test'
]
]
}
};

0 comments on commit 51a6d4c

Please sign in to comment.