quick-lint-js

Find bugs in JavaScript programs.

E0204: error generator function star belongs after keyword function

The following code has misplaced '*'.

let x = *function(y) { yield y; };

To fix this error, move the '*' after the keyword function.

let x = function*(y) { yield y; };

Introduced in quick-lint-js version 0.3.0.

Documentation for other errors