From 9e433ef8b0414138c2df173f3300146616fd6c6f Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Mon, 12 Feb 2024 16:02:32 -0500 Subject: [PATCH] docs: coding style: shell scripts should be linted using shellcheck MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I6532c73c2217918619a7d08d03a5a8da156beede Signed-off-by: Kienan Stewart Signed-off-by: Jérémie Galarneau --- CodingStyle.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CodingStyle.md b/CodingStyle.md index b1f5be1dd..ea9e9d2cb 100644 --- a/CodingStyle.md +++ b/CodingStyle.md @@ -267,6 +267,11 @@ Here are a couple of reminders: Python code should be formatted using [black](https://github.com/psf/black). +## Shell (BASH) + +New scripts and modifications to existing scripts should pass linting +with [Shellcheck](https://www.shellcheck.net/). + ## C Style (historical) The coding style used for this project follows the the Linux kernel guide lines, except that brackets `{`, `}` should typically be used even for single-line if/else statements. Please refer to: -- 2.34.1