Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 780 Bytes

shebang.md

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