commitlint.config.js 411 Bytes
Newer Older
Chris Kay's avatar
Chris Kay committed
1
2
3
4
5
6
7
8
9
10
11
/* 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 */
12
        "signed-off-by": [0, "always", "Signed-off-by:"] /* Disabled - buggy */
Chris Kay's avatar
Chris Kay committed
13
14
    }
};