Skip to content

Latest commit

Β 

History

History
19 lines (11 loc) Β· 780 Bytes

File metadata and controls

19 lines (11 loc) Β· 780 Bytes

Require correct usage of hashbang (n/shebang)

❌ This rule is deprecated. It was replaced by 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