eslint/no-undef Nursery 
What it does 
Disallow the use of undeclared variables.
Why is this bad? 
It is most likely a potential ReferenceError caused by a misspelling of a variable or parameter name.
Examples 
Examples of incorrect code for this rule:
javascript
var foo = someFunction();
var bar = a + 1;How to use 
To enable this rule in the CLI or using the config file, you can use:
bash
oxlint --deny no-undefjson
{
  "rules": {
    "no-undef": "error"
  }
}