SC1125
Joachim Ansorg edited this page Nov 12, 2021
·
4 revisions
Invalid key=value pair in directive
Problematic code:
# shellcheck disable=SC2153 (variable not a misspelling)Correct code:
# shellcheck disable=SC2153 # variable not a misspellingRationale:
A comment at the end of a directive must be preceded by a #
to avoid it being interpreted as an instruction.
The directive page
contains more guidance about commenting style.