mirror of
https://github.com/CTCaer/switch-l4t-atf.git
synced 2024-11-23 17:59:40 +00:00
8a73b563e5
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>
15 lines
411 B
JavaScript
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 */
|
|
}
|
|
};
|