sindresorhus / eslint-plugin-unicorn

More than 100 powerful ESLint rules
MIT License
3.98k stars 361 forks source link

`no-negation-in-equality-check`: Ignore boolean type casting #2379

Closed fisker closed 3 weeks ago

fisker commented 3 weeks ago

The main purpose of this rule is to prevent mistakes, I don't think anyone makes mistake with two !s. Let's not force people to use Boolean in this rule.