Current regex will match any of the ten line after the official helper files starting with the string source.
Thus, in my specific case in an install script for which I declare a variable named source_filename=$(basename $upstream_source_url), the linter will unecessarily display the following warning: ! Please avoid sourcing additional helpers after the official helpers (in this case file _filename=$(basename$upstream__url)).
As it should be only interested in matching the command source (source path/to/file), a space should be appended to the current regex.
Current regex will match any of the ten line after the official helper files starting with the string
source
. Thus, in my specific case in an install script for which I declare a variable namedsource_filename=$(basename $upstream_source_url)
, the linter will unecessarily display the following warning:! Please avoid sourcing additional helpers after the official helpers (in this case file _filename=$(basename$upstream__url))
. As it should be only interested in matching the commandsource
(source path/to/file
), a space should be appended to the current regex.