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
I feel like this rule would help a lot of new node users that love making CLI & bin application with it (like me😊).
I have a large CLI app with functions imported and exported from other files and found out (after too much debugging) that exporting a function from a file that has a shebang declaration the top of it (like #! /usr/bin/env node) gives a lot of trouble in execution.
I would suggest an optional rule that looks for export in a shebang file and alert about it.
The text was updated successfully, but these errors were encountered:
I feel like this rule would help a lot of new node users that love making CLI & bin application with it (like me😊).
I have a large CLI app with functions imported and exported from other files and found out (after too much debugging) that exporting a function from a file that has a shebang declaration the top of it (like
#! /usr/bin/env node
) gives a lot of trouble in execution.I would suggest an optional rule that looks for
export
in a shebang file and alert about it.The text was updated successfully, but these errors were encountered: