You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the shebang rule only ensures that the file referenced by the bin field in package.json has a shebang. However, there are times when you want other files to be run as scripts, say in a scripts directory in your project.
I recommend adding an option to ensure that all files matched by a glob pattern also require a shebang. This would also ensure that those files don't have any other shebang related issues like BOM or non-LF line breaks.
The text was updated successfully, but these errors were encountered:
Currently the
shebang
rule only ensures that the file referenced by thebin
field inpackage.json
has a shebang. However, there are times when you want other files to be run as scripts, say in ascripts
directory in your project.I recommend adding an option to ensure that all files matched by a glob pattern also require a shebang. This would also ensure that those files don't have any other shebang related issues like BOM or non-LF line breaks.
The text was updated successfully, but these errors were encountered: