
org.sonar.l10n.shellcheck.rules.shellcheck.SC2275.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!
Command name starts with =. Bad line break?
Problematic code
my_variable
=value
Correct code
myvariable=value
Rationale
ShellCheck found a command name starting with a =
. This was likely not meant as a new command, but instead a continuation from a previous line.
Make sure the =
is used correctly.
Exceptions
None, though you can quote the value to make ShellCheck ignore it, e.g. "=foo"
.
Related resources
- Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!
© 2015 - 2025 Weber Informatics LLC | Privacy Policy