eslint-plugin-node icon indicating copy to clipboard operation
eslint-plugin-node copied to clipboard

Allow babel-node in shebang

Open adp-psych opened this issue 4 years ago • 0 comments

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.

adp-psych avatar Apr 28 '21 07:04 adp-psych