Release 14.0.0 #9
Annotations
9 errors
|
Test:
packages/base/src/index.test.mjs#L12
SyntaxError: Named export 'createConfig' not found. The requested module '@metamask/eslint-config' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from '@metamask/eslint-config';
const { createConfig } = pkg;
❯ loadFlatConfigFile ../../node_modules/eslint/lib/eslint/eslint.js:390:21
❯ calculateConfigArray ../../node_modules/eslint/lib/eslint/eslint.js:473:28
❯ ESLint.lintText ../../node_modules/eslint/lib/eslint/eslint.js:1114:25
❯ src/index.test.mjs:12:20
|
Test:
packages/browser/src/index.mjs#L12
TypeError: createConfig is not a function
❯ src/index.mjs:12:16
❯ src/index.test.mjs:3:31
|
Test:
packages/commonjs/src/index.mjs#L12
TypeError: createConfig is not a function
❯ src/index.mjs:12:16
❯ src/index.test.mjs:3:31
|
Test:
packages/jest/src/index.mjs#L8
TypeError: createConfig is not a function
❯ src/index.mjs:8:16
❯ src/index.test.mjs:3:31
|
Test:
packages/nodejs/src/index.mjs#L13
TypeError: createConfig is not a function
❯ src/index.mjs:13:16
❯ src/index.test.mjs:3:31
|
Test:
packages/mocha/src/index.mjs#L9
TypeError: createConfig is not a function
❯ src/index.mjs:9:16
❯ src/index.test.mjs:3:31
|
Test:
packages/typescript/src/index.mjs#L9
TypeError: createConfig is not a function
❯ src/index.mjs:9:16
❯ src/index.test.mjs:5:31
|
Test
Process completed with exit code 1.
|
Loading