better-comments
better-comments copied to clipboard
Add Ignore First Line to shell scripts and Perl Scripts or ability to Toggle
I'd like to request that shell scripts and Perl scripts have their first line ignored by comments since they're typically paired with shebangs. I can understand if Perl one-liners end up not having them so maybe creating an override so this request doesn't have to be made would be more useful.
It isn't only Perl, shell scripts have this issue as well.
same issue here for Python scripts and some Dockerfiles if using docker-entrypoint.sh with shebangs.
I think this only really matters if the sequence on the first line literally starts with #!/ As the shebang sequence is generally #! but in practice the executable is nearly always a full path such as #!/bin/bash or even #!/usr/bin/env python or whatever.
I would like to see this corrected... seeing red on the first line of shell scripts makes me think something is wrong.
Related to #238