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

Documentation for other errors