Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 300 Bytes

no-hashbang-comment.md

File metadata and controls

19 lines (12 loc) · 300 Bytes

no-hashbang-comment

This prevents use of ES2023 hashang comments:

#!/usr/bin/env node

These will not be allowed because they are not supported in the following browsers:

  • Edge < 79
  • Safari < 13.1
  • Firefox < 67
  • Chrome < 74

What is the Fix?

You have to omit the comment.