
org.sonar.l10n.shellcheck.rules.shellcheck.SC1125.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-shellcheck-plugin Show documentation
Show all versions of sonar-shellcheck-plugin Show documentation
ShellCheck plugin for SonarQube
The newest version!
Invalid key=value pair in directive
Problematic code
# shellcheck disable=SC2153 (variable not a misspelling)
Correct code
# shellcheck disable=SC2153 # variable not a misspelling
Rationale
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.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy