💅 False positive lint/correctness/noUnusedVariables
on bracketless arrow functions
#861
Closed
1 task done
Labels
A-Linter
Area: linter
L-JavaScript
Language: JavaScript and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
Rule name
lint/correctness/noUnusedVariables
Playground link
https://biomejs.dev/playground/?lintRules=all&code=PAA%2BAAoAIAAgADwAdQBsAD4ACgAgACAAIAAgAHsAWwAxACwAMgAsADMAXQAuAG0AYQBwACgAZQAgAD0APgAgACgACgAgACAAIAAgACAAIAA8AGwAaQAgAGsAZQB5AD0AewBlAH0APgB7AGUAfQA8AC8AbABpAD4ACgAgACAAIAAgACkAKQB9AAoAIAAgADwALwB1AGwAPgAKACAAIAAgACAACgAgACAAPAB1AGwAPgAKACAAIAAgACAAewBbADEALAAyACwAMwBdAC4AbQBhAHAAKAAoAGUAKQAgAD0APgAgACgACgAgACAAIAAgACAAIAA8AGwAaQAgAGsAZQB5AD0AewBlAH0APgB7AGUAfQA8AC8AbABpAD4ACgAgACAAIAAgACkAKQB9AAoAIAAgADwALwB1AGwAPgAKADwALwA%2BAA%3D%3D
Expected result
It should not throw an error in the case shown in the playground.
Code of Conduct
The text was updated successfully, but these errors were encountered: