Find bugs in JavaScript programs.

E0042: unexpected '@'

In JavaScript, @ is only allowed in string and template literals. It is a syntax error to write @ anywhere else:

@  // oops

// JavaScript does not support C# verbatim strings:
let notepad = @"C:\Windows\System32\notepad.exe";

To fix this error, remove the @:

let notepad = "C:\\Windows\\System32\\notepad.exe";

Introduced in quick-lint-js version 0.2.0.

Documentation for other errors