Find bugs in JavaScript programs.
It is a syntax error to write the export keyword without anything following:
export
class SmallBenchmark extends Benchmark {} export {SmallBenchmark}; class BigBenchmark extends Benchmark {} export for (let benchmark of [new SmallBenchmark(), new BigBenchmark()]) { registerBenchmark(benchmark); }
To fix this error, complete the export statement:
class SmallBenchmark extends Benchmark {} export {SmallBenchmark}; class BigBenchmark extends Benchmark {} export {BigBenchmark}; for (let benchmark of [new SmallBenchmark(), new BigBenchmark()]) { registerBenchmark(benchmark); }
Introduced in quick-lint-js version 0.2.0.
Documentation for other errors