quick-lint-js

Find bugs in JavaScript programs.

E0147: unexpected identifier in expression; missing operator before

It is an error to write two variable names without an operator in between:

const quatro = (dos dos);
const four = add(two two);

To fix this error, remove one of the variables, or add an operator:

const quatro = (dos + dos);
const four = add(two, two);

Introduced in quick-lint-js version 0.2.0.

Documentation for other errors