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

Rich comment leads to eslint error #458

Closed
benjamin-asdf opened this issue Feb 6, 2024 · 2 comments
Closed

Rich comment leads to eslint error #458

benjamin-asdf opened this issue Feb 6, 2024 · 2 comments

Comments

@benjamin-asdf
Copy link

version

"^0.6.88"

problem

(comment) compiles to "null;"
This is a eslint error, else would not matter.

Expected an assignment or function call and instead saw an expression.

repro

put a (comment) at the bottom and lint with eslint.

expected behavior

I am not sure. I guess you have to problem that you want it to be an expression somewhere else.
Maybe it would not emit toplevel "null;"?

@borkdude
Copy link
Member

borkdude commented Feb 6, 2024

makes sense, will fix

@borkdude
Copy link
Member

borkdude commented Feb 6, 2024

Released 0.6.90

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