quick-lint-js

Find bugs in JavaScript programs.

E0113: incomplete export; expected 'export default ...' or 'export {name}' or 'export * from ...' or 'export class' or 'export function' or 'export let'

It is a syntax error to write the export keyword without anything following:

class SmallBenchmark extends Benchmark {}
export {SmallBenchmark};
class BigBenchmark extends Benchmark {}
export

To fix this error, complete the export statement:

class SmallBenchmark extends Benchmark {}
export {SmallBenchmark};
class BigBenchmark extends Benchmark {}
export {BigBenchmark};

Introduced in quick-lint-js version 0.2.0.

Documentation for other errors