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

🐛 noUnusedVariables false positive in 1.3.3 #639

Closed
1 task done
jpike88 opened this issue Oct 31, 2023 · 2 comments · Fixed by #655
Closed
1 task done

🐛 noUnusedVariables false positive in 1.3.3 #639

jpike88 opened this issue Oct 31, 2023 · 2 comments · Fixed by #655
Assignees
Labels
A-Linter Area: linter 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

@jpike88
Copy link

jpike88 commented Oct 31, 2023

Environment information

biome 1.3.3

What happened?

See screenshot. misreporting of unused variable, that's a type declaration.

Screenshot 2023-10-31 at 15 30 15

Expected result

it shouldn't do that

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@ematipico ematipico added the S-Needs repro Status: needs a reproduction label Oct 31, 2023
@ematipico
Copy link
Member

ematipico commented Oct 31, 2023

Thank you @jpike88 , are you able to share a playground link with us? That would really be appreciated

@jpike88
Copy link
Author

jpike88 commented Oct 31, 2023

https://biomejs.dev/playground/?lintRules=all&code=YwBsAGEAcwBzACAAWAAgAHsACgAJAHAAdQBiAGwAaQBjACAAbQBhAGkAbgB0AGUAbgBhAG4AYwBlAEMAbwBuAGYAaQBnAHUAcgBhAHQAaQBvAG4ARAB1AGUAUABhAHIAYQBtAEwAYQBiAGUAbABzADoAIAB7AAoACQAJAFsASwAgAGkAbgAgAE0AYQBpAG4AdABlAG4AYQBuAGMAZQBDAG8AbgBmAGkAZwB1AHIAYQB0AGkAbwBuAEQAdQBlAFAAYQByAGEAbQBdADsACgAJAH0AIAA9ACAAewAKAAkACQBbAE0AYQBpAG4AdABlAG4AYQBuAGMAZQBDAG8AbgBmAGkAZwB1AHIAYQB0AGkAbwBuAEQAdQBlAFAAYQByAGEAbQAuAEQAdQBlAFMAbwBvAG4ARABhAHkAcwBDAG8AbgBmAGkAZwB1AHIAYQB0AGkAbwBuAF0AOgAKAAkACQAJACIARABhAHkAcwAgAGkAbgAgAGEAZAB2AGEAbgBjAGUAIgAsAAoACQAJAFsATQBhAGkAbgB0AGUAbgBhAG4AYwBlAEMAbwBuAGYAaQBnAHUAcgBhAHQAaQBvAG4ARAB1AGUAUABhAHIAYQBtAC4ARAB1AGUAUwBvAG8AbgBIAG8AdQByAHMAQwBvAG4AZgBpAGcAdQByAGEAdABpAG8AbgBdADoACgAJAAkACQAiAEgAbwB1AHIAcwAgAGkAbgAgAGEAZAB2AGEAbgBjAGUAIgAsAAoACQAJAFsATQBhAGkAbgB0AGUAbgBhAG4AYwBlAEMAbwBuAGYAaQBnAHUAcgBhAHQAaQBvAG4ARAB1AGUAUABhAHIAYQBtAC4ARAB1AGUAUwBvAG8AbgBPAGQAbwBtAGUAdABlAHIAQwBvAG4AZgBpAGcAdQByAGEAdABpAG8AbgBdADoACgAJAAkACQAiAEsAbQBzACAAaQBuACAAYQBkAHYAYQBuAGMAZQAiACwACgAJAH0AOwAKAH0ACgAKAGUAbgB1AG0AIABNAGEAaQBuAHQAZQBuAGEAbgBjAGUAQwBvAG4AZgBpAGcAdQByAGEAdABpAG8AbgBEAHUAZQBQAGEAcgBhAG0AIAB7AAoACQBEAHUAZQBTAG8AbwBuAEQAYQB5AHMAQwBvAG4AZgBpAGcAdQByAGEAdABpAG8AbgAgAD0AIAAwACwACgAJAEQAdQBlAFMAbwBvAG4ASABvAHUAcgBzAEMAbwBuAGYAaQBnAHUAcgBhAHQAaQBvAG4AIAA9ACAAMQAsAAoACQBEAHUAZQBTAG8AbwBuAE8AZABvAG0AZQB0AGUAcgBDAG8AbgBmAGkAZwB1AHIAYQB0AGkAbwBuACAAPQAgADIALAAKAH0ACgAKAG4AZQB3ACAAWAAoACkAOwAKAA%3D%3D

@ematipico ematipico added S-Help-wanted Status: you're familiar with the code base and want to help the project A-Linter Area: linter S-Bug-confirmed Status: report has been confirmed as a valid bug and removed S-Needs repro Status: needs a reproduction labels Oct 31, 2023
@Conaclos Conaclos self-assigned this Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Area: linter 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