mysticatea / eslint-plugin-node

Additional ESLint's rules for Node.js
MIT License
958 stars 167 forks source link

Allow babel-node in shebang #276

Open adp-psych opened 3 years ago

adp-psych commented 3 years ago

For scripts that need to be run with babel-node, the shebang line should be

#!/usr/bin/env babel-node

The current node/shebang rule does not allow this.

I suggest modifying the rule to allow the above shebang, or, better yet, add an option to specify a list of allowed shebang lines.