fix: throw expect jsx plugin error when an idStart or > is seen (#11774)

* fix: throw expect jsx plugin error when an idStart or > is seen

* fix: avoid throwing undefined

* add test case
This commit is contained in:
Huáng Jùnliàng
2020-07-01 15:17:05 -04:00
committed by GitHub
parent b1b21e5c03
commit d67629b114
12 changed files with 36 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
{
"sourceType": "script",
"plugins": ["jsx", "flow"]
}