Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAllow shebangs (#!/usr/bin/env node) #871
Comments
This comment has been minimized.
This comment has been minimized.
|
Tried again and worked perfectly, so I'm closing this issue |
ghost
closed this
Apr 29, 2017
This comment has been minimized.
This comment has been minimized.
chinedufn
commented
Sep 9, 2017
•
|
In case someone else runs into this: This linting error happens if your file ONLY contains the following Does not work #!/usr/bin/env nodeOnce you add code the errors goes away Works #!/usr/bin/env node
console.log('I have added code and everything works now') |
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ghost commentedApr 29, 2017
•
edited by ghost
When I put in my shebang for node (#!/usr/bin/env node) standard gave me this warning 'Expected space or tab after '///' in comment. Could you allow shebangs on the first line. I will have to use
// eslint-disable-lineto fix this temporarily.EDIT: I can't find any way of disabling this warning, could someone explain how