🐛 noConsole not reporting when using console in arrow function #5053
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
What happened?
Something as simple as
doesn't trigger the noConsole rule.
https://biomejs.dev/playground/?lintRules=all&code=WwBdAC4AZgBvAHIARQBhAGMAaAAoACgAKQAgAD0APgAgAGMAbwBuAHMAbwBsAGUALgBsAG8AZwAoACIAdABlAHMAdAAiACkAKQAKAAoAYwBvAG4AcwB0ACAAeAAgAD0AIAAoACkAIAA9AD4AIABjAG8AbgBzAG8AbABlAC4AbABvAGcAKAAiAHQAZQBzAHQAIgApAA%3D%3D
Expected result
It creates a diagnostic for the noConsole rule
Code of Conduct
The text was updated successfully, but these errors were encountered: