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>
This commit is contained in:
Chris Kay 2021-12-01 16:05:31 +00:00
parent 8edd19e4df
commit 5cc202290c
2 changed files with 5 additions and 1 deletions

View File

@ -40,8 +40,8 @@ module.exports = {
},
],
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 */

View File

@ -824,6 +824,10 @@
"title": "checkpatch",
"scopes": ["checkpatch"]
},
{
"title": "commitlint",
"scopes": ["commitlint"]
},
{
"title": "libfdt",
"scopes": ["libfdt"]