quick-lint-js

Find bugs in JavaScript programs.

E0067: exporting requires 'default'

It is a syntax error to export an expression without using the default keyword:

function loadConfig() {}

export loadConfig();

To fix this error, add the default keyword to export the result of the expression as the module's default export:

function loadConfig() {}

export default loadConfig();

Documentation for other errors