Open
Description
Before You File a Proposal Please Confirm You Have Done The Following...
- I have searched for related issues and found none that match my proposal.
- I have searched the current rule list and found no rules that match my proposal.
- I have read the FAQ and my problem is not listed.
Relevant Package
typescript-estree
My proposal is suitable for this project
- I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).
Description
I understand that ESLint core handles Hashbang automatically, but it's kind of missing feature when use typescript-estree
alone.
Should we add support for it? It's in the spec after all.
Fail
N/A
Pass
N/A
Additional Info
> require('@typescript-eslint/typescript-estree').parse('#!/usr/bin/env node', {comment: true})
{ type: 'Program', body: [], sourceType: 'script', comments: [] } // <- missing comment