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

Doesn't work in JSX #7

Open
NickHeiner opened this issue Jan 25, 2022 · 0 comments
Open

Doesn't work in JSX #7

NickHeiner opened this issue Jan 25, 2022 · 0 comments

Comments

@NickHeiner
Copy link
Owner

NickHeiner commented Jan 25, 2022

It'll output invalid comments in JSX:

// eslint-disable-next-line rule
<div></div>

Of course, if we're in a JSX JS block, we want normal comments:

<div>
{
  // eslint-disable-next-line rule
  foo.map(bar) 
}
</div>
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

1 participant