Nucleus handler tools › Docs › Checks
A variable named undefined, NaN or Infinity
Why it matters
Naming a variable undefined, NaN or Infinity changes what that name means everywhere after.
Example
✗ Wrong
var undefined = 1;✓ Right
var nothing = 1;How to fix it
Pick another name.
Turn it off, or change how it shows
Each check can be shown as an error, warning, info or hint, or turned off. VS Code: "splitscreenme.lint.rules": { "no-shadow-restricted-names": "off" } in your settings. Notepad++: Plugins › Nucleus Co-op handlers › Settings. Command line: ncdev lint --rule no-shadow-restricted-names=off. Other editors: the lint.rules setting of ncdev lsp.
Is this right?
Tell us what's wrong