summaryrefslogtreecommitdiff
path: root/util/lint/lint-extended-015-final-newlines
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2023-03-06 11:18:25 -0700
committerFelix Held <felix-coreboot@felixheld.de>2023-03-07 21:34:11 +0000
commit57f1162363b9e7bc59761358f7d7f81eeafe5aa9 (patch)
tree26af47f0fb30b7f38ac6fa2bbe76743ecf54c8d7 /util/lint/lint-extended-015-final-newlines
parenteb7b589f8f229ecde1ba11396b70e2e8b666ff63 (diff)
util/lint: Ignore braces around single line statements
In a recent coreboot leadership meeting, the decision was made to allow (but not require) braces around single line statements if the author wishes to put them in. This patch removes the checks for single line statement blocks, while still checking for other issues in braces. Just because they're allowed now, please do not reformat the entire codebase to add them. coreboot has a policy of not making widespread changes to the entire codebase unless something actually violates the style guidelines. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I137b10889ec880959c4c1b035dc54bf8ebf32488 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73515 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/lint/lint-extended-015-final-newlines')
0 files changed, 0 insertions, 0 deletions