n/shebang
May 4, 2026 ยท View on GitHub
๐ Require correct usage of hashbang.
โ This rule has been deprecated since v17.0.0. It was replaced by n/hashbang. This rule was deprecated in eslint-plugin-n v17.0.0. Please use 'n/hashbang'.
๐ง This rule is automatically fixable by the --fix CLI option.
When we make a CLI tool with Node.js, we add bin field to package.json, then we add a shebang the entry file.
This rule suggests correct usage of shebang.
๐ Rule Details
The details for this rule can be found in docs/rules/hashbang.md