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
[Fix] jsx-no-undef: handle the TS parser combined with an invalid ecmaVersion
Context: this is because typically, in a Module, a function's scope's
parent ends up hitting "module" before it hits "global". However, when
`ecmaVersion` is invalid, it falls back to `5`, and there's no `module`
scope there - but the TS parser still parses ESM syntax in that case.
Fixes#2882
0 commit comments