eslint/no-global-assign Correctness 
What it does 
Disallow modifications to read-only global variables.
Why is this bad? 
In almost all cases, you don’t want to assign a value to these global variables as doing so could result in losing access to important functionality.
Examples 
Examples of incorrect code for this rule:
javascript
Object = null;How to use 
To enable this rule in the CLI or using the config file, you can use:
bash
oxlint --deny no-global-assignjson
{
  "rules": {
    "no-global-assign": "error"
  }
}