Pause
Reset
STAGE 1: DATA
STAGE 2: ENGINE
STAGE 3: OUTPUT
AST MATCH
LINT ERROR
{
"rule": "isNil",
"fix": "=== null",
"type": "method"
}
LIB/RULES/ALL.JS
(ITERATING GENERATOR)
if (_.isNil(foo)) {
return true;
}
Fix alternative:
foo === null || ...