Skip to content

eslint/eqeqeq Pedantic

🛠️ An auto-fix is available for this rule for some violations.

What it does

Requires the use of the === and !== operators

Why is this bad?

Using non-strict equality operators leads to hard to track bugs due to type coercion.

Example

javascript
let a = [];
let b = false;
a == b;

References

Released under the MIT License.