1/* eslint-env node */ 2 3"use strict"; 4 5const config = require("./.cz.json"); 6 7module.exports = { 8 extends: ["@commitlint/config-conventional"], 9 rules: { 10 "header-max-length": [1, "always", config.maxHeaderWidth], /* Warning */ 11 "body-max-line-length": [1, "always", config.maxLineWidth], /* Warning */ 12 "signed-off-by": [0, "always", "Signed-off-by:"] /* Disabled - buggy */ 13 } 14}; 15