Documentation/coding_style.md: Update line length limit
Line length limit was bumped to 96 characters, but the coding style did not reflect such a change. Change-Id: Ifdbb8bc04e49e1fbe9b0c8a642ae814d5a60004a Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35215 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
ec32e61bb8
commit
bcbf2deb42
|
@ -80,11 +80,11 @@ Get a decent editor and don't leave whitespace at the end of lines.
|
||||||
Coding style is all about readability and maintainability using commonly
|
Coding style is all about readability and maintainability using commonly
|
||||||
available tools.
|
available tools.
|
||||||
|
|
||||||
The limit on the length of lines is 80 columns and this is a strongly
|
The limit on the length of lines is 96 columns and this is a strongly
|
||||||
preferred limit.
|
preferred limit.
|
||||||
|
|
||||||
Statements longer than 80 columns will be broken into sensible chunks,
|
Statements longer than 96 columns will be broken into sensible chunks,
|
||||||
unless exceeding 80 columns significantly increases readability and does
|
unless exceeding 96 columns significantly increases readability and does
|
||||||
not hide information. Descendants are always substantially shorter than
|
not hide information. Descendants are always substantially shorter than
|
||||||
the parent and are placed substantially to the right. The same applies
|
the parent and are placed substantially to the right. The same applies
|
||||||
to function headers with a long argument list. However, never break
|
to function headers with a long argument list. However, never break
|
||||||
|
|
Loading…
Reference in New Issue