Pattern: Missing space before #
Issue: -
This rule checks if keyword is immediately followed by a #
. In order for the #
to start a comment, it needs to come after a word boundary such as a space.
Example of incorrect code:
while sleep 1
do# show time
date
done
Example of correct code:
while sleep 1
do # show time
date
done