diff options
author | Angel Pons <th3fanbus@gmail.com> | 2019-09-02 15:43:13 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-09-04 10:54:41 +0000 |
commit | bcbf2deb42362232eb5e1414c5d99026f045e2e4 (patch) | |
tree | 78dcc8078cf5e3773df7fb2786dcd5c97cd9c6d8 /Documentation/coding_style.md | |
parent | ec32e61bb8da1d5370b8dd808ca4dbbfb2acd6c8 (diff) |
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>
Diffstat (limited to 'Documentation/coding_style.md')
-rw-r--r-- | Documentation/coding_style.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/coding_style.md b/Documentation/coding_style.md index 048b8e673e..ac0de4ea9d 100644 --- a/Documentation/coding_style.md +++ b/Documentation/coding_style.md @@ -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 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. -Statements longer than 80 columns will be broken into sensible chunks, -unless exceeding 80 columns significantly increases readability and does +Statements longer than 96 columns will be broken into sensible chunks, +unless exceeding 96 columns significantly increases readability and does not hide information. Descendants are always substantially shorter than the parent and are placed substantially to the right. The same applies to function headers with a long argument list. However, never break |