quick-lint-js

Find bugs in JavaScript programs.

E0041: unclosed template

Template literals start with and end with `. It is a syntax error to omit the trailing `.

// The final ` is escaped by \.
let temp = `c:\temp\`;
let unfinishedThought = `The solution to all of our problems is

To fix this error, ensure a backslash (\) is not escaping the terminating `, or include a terminating `:

let temp = `c:\\temp\\`;

let unfinishedThought = `The solution to all of our problems is`;

Documentation for other errors