Nucleus handler tools › Docs › Checks
A backslash that disappears
Why it matters
In a string a backslash only escapes some characters: here it disappears. In a Windows path write two backslashes ("C:\\Games"), or "\\" for one.
Example
✗ Wrong
var p = "C:\Games";✓ Right
var p = "C:\\Games";How to fix it
In a Windows path write two backslashes.
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-useless-escape": "off" } in your settings. Notepad++: Plugins › Nucleus Co-op handlers › Settings. Command line: ncdev lint --rule no-useless-escape=off. Other editors: the lint.rules setting of ncdev lsp.
Is this right?
Tell us what's wrong