All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.shellcheck.rules.shellcheck.SC1127.html Maven / Gradle / Ivy

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