blob: b7c1e5aa12fb8c920aa5de0f18dd6b6cc7ee4c12 [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 */
12 "signed-off-by": [2, "always", "Signed-off-by:"] /* Error */
13 }
14};