mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-10 21:03:12 +01:00
Avoid failing the commitlint task on long commit body lines and just raise a warning. This allows renovate tabled commit messages to pass the ci. Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
14 lines
407 B
JavaScript
14 lines
407 B
JavaScript
const Configuration= {
|
|
extends: ['@commitlint/config-conventional'],
|
|
formatter: '@commitlint/format',
|
|
rules: {
|
|
'body-empty': [1, 'never'],
|
|
'body-case': [2, 'always', 'sentence-case'],
|
|
'body-max-line-length': [1, 'always', 100],
|
|
'references-empty': [1, 'never'],
|
|
'signed-off-by': [2, 'always', 'Signed-off-by:'],
|
|
},
|
|
};
|
|
|
|
module.exports = Configuration;
|