Skip to content

Files

Latest commit

 

History

History
29 lines (20 loc) · 482 Bytes

SC1099.md

File metadata and controls

29 lines (20 loc) · 482 Bytes

Pattern: Missing space before #

Issue: -

Description

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

Further Reading