remimarsal/prettier-now-vscode

JSX Fragment encountered as Unexpected Token

Opened this issue · 11 comments

<>
<Foo />
<Foo />
</>

Output on Format:

Unexpected token (7:4)
   5 | export default function Modal({ children, show, closeModal }) {
   6 | 	return (
>  7 | 		<>
     | 		 ^
   8 | 			`<Foo />`
   9 | 			`<Foo />`
  10 | 		</>

I am having the same issue, please have a look at it.

Agreed, same here, but when using TSX, says type expected and highlights <>

Same here 😿

Chiming in with the same issue.

The same

Same here, how can we help?

Still an issue. @remimarsal you got any idea what's causing this, could it be some configuration for prettier? cc @goranjviv

Just wanted to bump this, I have no clue how to fix it either.

Is this extension no longer maintained?

Same issue is being encountered

Is this going to be updated anytime soon ?