Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token <> #80

Open
JustFly1984 opened this issue Nov 20, 2018 · 1 comment
Open

Unexpected token <> #80

JustFly1984 opened this issue Nov 20, 2018 · 1 comment

Comments

@JustFly1984
Copy link

JustFly1984 commented Nov 20, 2018

I'm working on React.js project, And now we have this new syntax <></> for <React.Fragment />, but jsinspect fails with errors like this:

Couldn't parse ./src/components/callback/success-header.js: Unexpected token (18:3)
  <>
   ^
Couldn't parse ./src/components/callback-failure/message.js: Unexpected token (23:3)
  <>
   ^
Couldn't parse ./src/components/callback-success/message.js: Unexpected token (13:3)
  <>
   ^
Couldn't parse ./src/components/checkout/details.js: Unexpected token (14:3)
  <>
   ^
@camjc
Copy link

camjc commented Oct 9, 2019

I assume #73 may fix this? @danielstjules ?
If theres something I can do to progress this I'm happy to invest some time, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants