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

🐛 lint/complexity/noUselessFragments removing assignment #258

Closed
1 task done
stutrek opened this issue Sep 12, 2023 · 0 comments · Fixed by #260
Closed
1 task done

🐛 lint/complexity/noUselessFragments removing assignment #258

stutrek opened this issue Sep 12, 2023 · 0 comments · Fixed by #260
Labels
A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Bug-confirmed Status: report has been confirmed as a valid bug S-Help-wanted Status: you're familiar with the code base and want to help the project

Comments

@stutrek
Copy link

stutrek commented Sep 12, 2023

Environment information

Too long to review, has sensitive info.

What happened?

body = <>Err</>; becomes 'Err'. The body = is lost

image

Expected result

It should assign Err to the variable.

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@denbezrukov denbezrukov added A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Bug-confirmed Status: report has been confirmed as a valid bug labels Sep 12, 2023
@Conaclos Conaclos added the S-Help-wanted Status: you're familiar with the code base and want to help the project label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Bug-confirmed Status: report has been confirmed as a valid bug S-Help-wanted Status: you're familiar with the code base and want to help the project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants