]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
etc/shellcheck/shellcheckrc: disable=SC2250
authorAlejandro Colomar <alx@kernel.org>
Sun, 3 Nov 2024 13:20:21 +0000 (14:20 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sun, 3 Nov 2024 13:31:37 +0000 (14:31 +0100)
Adding braces unnecessarily adds noise and thus hurts readability.
Ignore advice.

===
In src/bin/mansect line 23:
-e '(?s)^\.SH ('"$s"')$(?:(?!^\.(lf 1|TH|SH) ).)*';
                         ^-- SC2250 (style): Prefer putting braces around variable references even when not strictly required.
===

Signed-off-by: Alejandro Colomar <alx@kernel.org>
etc/shellcheck/shellcheckrc

index f8a572fc385254fa4dd00b63c350168f68419d72..6c0529e048cfec91d93b400ffeb137f694977f5a 100644 (file)
@@ -1,2 +1,3 @@
 disable=SC2016
 disable=SC2038
+disable=SC2250