switch-l4t-atf/commitlint.config.js
Chris Kay 8a73b563e5 revert(commitlint): disable signed-off-by rule
The `signed-off-by` rule does not correctly detect the `Signed-off-by:`
trailer if it's not the last trailer. Therefore, this rule has been
disabled until we can resolve this in the commitlint upstream.

Change-Id: I50ea29067528f3c1c25beeea5eb25134b25b2af2
Signed-off-by: Chris Kay <chris.kay@arm.com>
2021-04-27 16:12:10 +01:00

15 lines
411 B
JavaScript

/* 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 */
}
};