no-undef
Last updated: Jan 16, 2025
Disallow the use of undeclared variables.
Invalid:
const foo = someFunction();
const bar = a + 1;
Disallow the use of undeclared variables.
Invalid:
const foo = someFunction();
const bar = a + 1;