You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@babel/parser: differences between Espree when using ESTree plugin #10826
Current Behavior
There are a few cases for newer where @babel/parser deviates from ESTree. These should be aligned so that @babel/eslint-parser works correctly with existing ESLint rules.
Dynamic Imports
@babel/parser currently parses dynamic imports (import('a')) as CallExpressions (code here). The ESTree spec differs from this and gives it its own type called ImportExpression.
BigInt Literals
@babel/parser currently parses BigInt Literals (1n) as BigIntLiteral. The ESTree spec differs from this and gives it the type Literal and adds the bigint property (see spec here).
changed the title [-]@babel/parser: dynamic imports have incorrect type when using ESTree plugin[/-][+]@babel/parser: differences between Espree when using ESTree plugin[/+]on Dec 6, 2019
Activity
[-]@babel/parser: dynamic imports have incorrect type when using ESTree plugin[/-][+]@babel/parser: differences between Espree when using ESTree plugin[/+]kaicataldo commentedon Dec 11, 2019
These issues have been fixed.