Skip to content

Option to detect and ignore shebangs #20

Closed
@greduan

Description

I'm trying to lint a file in my bin folder but I can't do so because when I run the jslint task it returns the following:

greduan@arch-vostro1500 ~/d/count-me-in-redo> gulp
[21:23:19] Using gulpfile ~/dev/count-me-in-redo/gulpfile.js
[21:23:19] Starting 'jslint'...
[21:23:19] Finished 'jslint' after 20 ms
[21:23:19] Starting 'default'...
[21:23:19] Finished 'default' after 15 μs
[21:23:19]        bin/cmi.js
           1:1: Unexpected '#'.
           1:2: Stopping. (1% scanned).
Error in plugin 'gulp-jslint'
Message:
    failed to lint /home/greduan/dev/project/bin/cli.js

The shebang being #!/usr/bin/env node.

If something could be done to fix this that would be wonderful. Thank you. :)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions