blob: 94cad8f2bce0161490a03198b5de52a80a1eb128 [file] [log] [blame]
Chris Kay98b26e32020-12-09 16:52:03 +00001/* 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 */
Chris Kay10805072021-04-27 16:09:20 +010012 "signed-off-by": [0, "always", "Signed-off-by:"] /* Disabled - buggy */
Chris Kay98b26e32020-12-09 16:52:03 +000013 }
14};