You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
411 B
14 lines
411 B
/* eslint-env node */
|
|
|
|
"use strict";
|
|
|
|
const config = require("./.cz.json");
|
|
|
|
module.exports = {
|
|
extends: ["@commitlint/config-conventional"],
|
|
rules: {
|
|
"header-max-length": [1, "always", config.maxHeaderWidth], /* Warning */
|
|
"body-max-line-length": [1, "always", config.maxLineWidth], /* Warning */
|
|
"signed-off-by": [0, "always", "Signed-off-by:"] /* Disabled - buggy */
|
|
}
|
|
};
|
|
|