Nucleus handler tools › Docs › Checks
A line that does nothing
Why it matters
This line computes something and throws the result away: it does nothing. A missing assignment or call, or a statement split over two lines?
Example
✗ Wrong
var a = 1;
a == 2;✓ Right
var a = 1;
a = 2;How to fix it
Assign or call what you meant; check for a line split in two.
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-unused-expressions": "off" } in your settings. Notepad++: Plugins › Nucleus Co-op handlers › Settings. Command line: ncdev lint --rule no-unused-expressions=off. Other editors: the lint.rules setting of ncdev lsp.
Is this right?
Tell us what's wrong