eslint/eqeqeq Pedantic
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;
How to use
To enable this rule in the CLI or using the config file, you can use:
bash
oxlint --deny eqeqeq
json
{
"rules": {
"eqeqeq": "error"
}
}