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

๐Ÿ”Ž Implementation