Jsx namespaced name and attributes #42963
Labels
Fix Available
A PR has been opened for this issue
Needs Investigation
This issue needs a team member to investigate its status.
Milestone
Bug Report
π Search Terms
π Version & Regression Information
β― Playground Link
Playground link
typescript-eslint/typescript-eslint#3112
π» Code
π Actual behavior
Invalid syntax is not reported as such.
this:b
in AST is reporter asThisExpression
, and has range ofthis:b
when code above is run in preserve mode, this syntax is generated
this syntax is not allowed according to spec
https://github.com/facebook/jsx
π Expected behavior
We should receive some sort of error or
this:b
should be parsed asIdentifier
The text was updated successfully, but these errors were encountered: