Repository navigation
Replies: 2 comments
|
working on this |
0 replies
|
This isn't a bug. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Environment information
Details
Rule name
lint/suspicious/noReturnAssignPlayground link
playground
Biome flags line 3. ESLint's
no-return-assigndefaults to"except-parens", which allows an assignment wrapped in parentheses, so ESLint doesn't report it. I ran into it in debug, and it came up 98 times across 10 of the 100 most-downloaded npm packages. Split out of #12370.Expected result
No diagnostic by default, like ESLint. The rule's source is marked
.same()asno-return-assign, but there's noexcept-parensoption and it behaves like"always". Anexcept-parensdefault (or an option), or a note in the docs, would sort it out.Code of Conduct
All reactions