eslint-plugin-unicorn/rules/utils/boolean.js
Lines 26 to 37 in d3e4b80
Currently, this function is too complicated, judging both the node itself and the node's parent.
It is easy to false positives (#1840). Let's split this into two functions
isBooleanExpression(node)
- ImplementedisInControlFlow(node)
- create a new functionPay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too