
org.sonar.l10n.shellcheck.rules.shellcheck.SC1127.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!
Was this intended as a comment? Use #
in sh.
Problematic code
// This is a comment.
/* This too. */
Correct code
# This is a comment.
# This too.
Rationale
ShellCheck found what appears to be a C-style comment, a line starting with //
or /*
.
In Bourne based shell scripts, the comment character is #
Exceptions
None.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy