💅 noInvalidUseBeforeDeclaration
- false-positive for param destructuring with default values
#1648
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
noInvalidUseBeforeDeclaration
Playground link
https://biomejs.dev/playground/?lintRules=all&code=YwBvAG4AcwB0ACAAYQBGAHUAbgBjAHQAaQBvAG4AIAA9ACAAKAB7AGEAIAA9ACAAJwAxADEAMQAnACwAIABiACAAPQAgAGEAfQApACAAPQA%2BACAAewAKACAAIABjAG8AbgBzAG8AbABlAC4AaQBuAGYAbwAoAGEALABiACkAOwAKAH0ACgBjAG8AbgBzAG8AbABlAC4AaQBuAGYAbwAoAGEARgB1AG4AYwB0AGkAbwBuACkAOwA%3D
Expected result
No linting error
Code of Conduct
The text was updated successfully, but these errors were encountered: