mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-27 15:24:54 +00:00
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:
parent
8edd19e4df
commit
5cc202290c
2 changed files with 5 additions and 1 deletions
|
@ -40,8 +40,8 @@ module.exports = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
"body-max-line-length": [1, "always", cz.maxLineWidth], /* Warning */
|
|
||||||
"header-max-length": [1, "always", cz.maxHeaderWidth], /* 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 */
|
"change-id-exists": [1, "always", "Change-Id:"], /* Warning */
|
||||||
"signed-off-by-exists": [1, "always", "Signed-off-by:"], /* Warning */
|
"signed-off-by-exists": [1, "always", "Signed-off-by:"], /* Warning */
|
||||||
|
|
4
.cz.json
4
.cz.json
|
@ -824,6 +824,10 @@
|
||||||
"title": "checkpatch",
|
"title": "checkpatch",
|
||||||
"scopes": ["checkpatch"]
|
"scopes": ["checkpatch"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"title": "commitlint",
|
||||||
|
"scopes": ["commitlint"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "libfdt",
|
"title": "libfdt",
|
||||||
"scopes": ["libfdt"]
|
"scopes": ["libfdt"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue