-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
blocked by external APIBlocked by a tool we depend on exposing an API, such as TypeScript's Type Relationship APIBlocked by a tool we depend on exposing an API, such as TypeScript's Type Relationship APIenhancementNew feature or requestNew feature or requestpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estree
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
reneleonhardt
Metadata
Metadata
Assignees
Labels
blocked by external APIBlocked by a tool we depend on exposing an API, such as TypeScript's Type Relationship APIBlocked by a tool we depend on exposing an API, such as TypeScript's Type Relationship APIenhancementNew feature or requestNew feature or requestpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeIssues related to @typescript-eslint/typescript-estree