quick-lint-js

Find bugs in JavaScript programs.

E0126: expected 'as' between '*' and variable

You can import all of a module's exports using import *. It is a syntax error to omit the as keyword between the * and the new object's name:

import * d3 from 'd3';

To fix this error, write as after *:

import * as d3 from 'd3';

Documentation for other errors