no-undefined

- Disallow the use of undefined as an identifier

This rule aims to eliminate the use of undefined, and as such, generates a warning whenever it is used.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.