style(commitlint): reorder header/body max line length fields
This change simply reorders the `body-max-line-length` and
`header-max-line-length` fields to be in the order that most people
mentally expect. This has no actual function impact.
Change-Id: Ice0db951e4049baaf4de9372255407adc4e3bf66
Signed-off-by: Chris Kay <chris.kay@arm.com>
diff --git a/.commitlintrc.js b/.commitlintrc.js
index f970481..5ec16b3 100644
--- a/.commitlintrc.js
+++ b/.commitlintrc.js
@@ -40,8 +40,8 @@
},
],
rules: {
- "body-max-line-length": [1, "always", cz.maxLineWidth], /* Warning */
"header-max-length": [1, "always", cz.maxHeaderWidth], /* Warning */
+ "body-max-line-length": [1, "always", cz.maxLineWidth], /* Warning */
"change-id-exists": [1, "always", "Change-Id:"], /* Warning */
"signed-off-by-exists": [1, "always", "Signed-off-by:"], /* Warning */
diff --git a/.cz.json b/.cz.json
index 3c28d3c..005153a 100644
--- a/.cz.json
+++ b/.cz.json
@@ -825,6 +825,10 @@
"scopes": ["checkpatch"]
},
{
+ "title": "commitlint",
+ "scopes": ["commitlint"]
+ },
+ {
"title": "libfdt",
"scopes": ["libfdt"]
},