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`;

Introduced in quick-lint-js version 0.2.0.

Documentation for other errors