chore: export FlatConfigComposer type #57
Annotations
3 errors and 1 warning
Unit Test:
test/fixtures.test.ts#L117
Error: Command failed with exit code 2: bunx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.17.0
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at file:///home/runner/work/eslint-config/eslint-config/dist/dist-OR76Q23A.js:991:44
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)
at async interopDefault (file:///home/runner/work/eslint-config/eslint-config/dist/index.js:291:20)
at async formatters (file:///home/runner/work/eslint-config/eslint-config/dist/index.js:435:24)
at async Promise.all (index 22)
at async file:///home/runner/work/eslint-config/eslint-config/node_modules/eslint-flat-config-utils/dist/index.mjs:108:25
at async FlatConfigComposer.toConfigs (file:///home/runner/work/eslint-config/eslint-config/node_modules/eslint-flat-config-utils/dist/index.mjs:331:17)
at async ConfigLoader.calculateConfigArray (/home/runner/work/eslint-config/eslint-config/node_modules/eslint/lib/config/config-loader.js:512:32)
❯ dist/dist-OR76Q23A.js:991:44
❯ interopDefault dist/index.js:291:20
❯ formatters dist/index.js:435:24
❯ node_modules/eslint-flat-config-utils/dist/index.mjs:108:25
❯ FlatConfigComposer.toConfigs node_modules/eslint-flat-config-utils/dist/index.mjs:331:17
❯ ConfigLoader.calculateConfigArray node_modules/eslint/lib/config/config-loader.js:512:32
❯ makeError node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/execa/index.js:124:26
❯ test/fixtures.test.ts:117:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: bunx eslint . --fix', command: 'bunx eslint . --fix', escapedCommand: 'bunx eslint . --fix', exitCode: 2, signal: undefined, signalDescription: undefined, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.17.0\n\nTypeError: Cannot convert undefined or null to object\n at Function.keys (<anonymous>)\n at file:///home/runner/work/eslint-config/eslint-config/dist/dist-OR76Q23A.js:991:44\n at ModuleJob.run (node:internal/modules/esm/module_job:195:25)\n at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)\n at async interopDefault (file:///home/runner/work/eslint-config/eslint-config/dist/index.js:291:20)\n at async formatters (file:///home/runner/work/eslint-config/eslint-config/dist/index.js:435:24)\n at async Promise.all (index 22)\n at async file:///home/runner/work/eslint-config/eslint-config/node_modules/eslint-flat-config-utils/dist/index.mjs:108:25\n at async FlatConfigComposer.toConfigs (file:///home/runner/work/eslint-config/eslint-config/node_modules/eslint-flat-config-utils/dist/index.mjs:331:17)\n at async ConfigLoader.calculateConfigArray (/home/runner/work/eslint-config/eslint-config/node_modules/eslint/lib/config/config-loader.js:512:32)', cwd: '/home/runner/work/eslint-config/eslint-config/_fixtures/with-formatters', failed: true, timedOut: false, isCanceled: false, killed: false }
|
Unit Test:
test/fixtures.test.ts#L117
Error: Command failed with exit code 2: bunx eslint . --fix
Oops! Something went wrong! :(
ESLint: 9.17.0
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at file:///home/runner/work/eslint-config/eslint-config/dist/dist-OR76Q23A.js:991:44
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)
at async interopDefault (file:///home/runner/work/eslint-config/eslint-config/dist/index.js:291:20)
at async formatters (file:///home/runner/work/eslint-config/eslint-config/dist/index.js:435:24)
at async Promise.all (index 19)
at async file:///home/runner/work/eslint-config/eslint-config/node_modules/eslint-flat-config-utils/dist/index.mjs:108:25
at async FlatConfigComposer.toConfigs (file:///home/runner/work/eslint-config/eslint-config/node_modules/eslint-flat-config-utils/dist/index.mjs:331:17)
at async ConfigLoader.calculateConfigArray (/home/runner/work/eslint-config/eslint-config/node_modules/eslint/lib/config/config-loader.js:512:32)
❯ dist/dist-OR76Q23A.js:991:44
❯ interopDefault dist/index.js:291:20
❯ formatters dist/index.js:435:24
❯ node_modules/eslint-flat-config-utils/dist/index.mjs:108:25
❯ FlatConfigComposer.toConfigs node_modules/eslint-flat-config-utils/dist/index.mjs:331:17
❯ ConfigLoader.calculateConfigArray node_modules/eslint/lib/config/config-loader.js:512:32
❯ makeError node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/execa/index.js:124:26
❯ test/fixtures.test.ts:117:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 2: bunx eslint . --fix', command: 'bunx eslint . --fix', escapedCommand: 'bunx eslint . --fix', exitCode: 2, signal: undefined, signalDescription: undefined, stdout: '', stderr: '\nOops! Something went wrong! :(\n\nESLint: 9.17.0\n\nTypeError: Cannot convert undefined or null to object\n at Function.keys (<anonymous>)\n at file:///home/runner/work/eslint-config/eslint-config/dist/dist-OR76Q23A.js:991:44\n at ModuleJob.run (node:internal/modules/esm/module_job:195:25)\n at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)\n at async interopDefault (file:///home/runner/work/eslint-config/eslint-config/dist/index.js:291:20)\n at async formatters (file:///home/runner/work/eslint-config/eslint-config/dist/index.js:435:24)\n at async Promise.all (index 19)\n at async file:///home/runner/work/eslint-config/eslint-config/node_modules/eslint-flat-config-utils/dist/index.mjs:108:25\n at async FlatConfigComposer.toConfigs (file:///home/runner/work/eslint-config/eslint-config/node_modules/eslint-flat-config-utils/dist/index.mjs:331:17)\n at async ConfigLoader.calculateConfigArray (/home/runner/work/eslint-config/eslint-config/node_modules/eslint/lib/config/config-loader.js:512:32)', cwd: '/home/runner/work/eslint-config/eslint-config/_fixtures/no-markdown-with-formatters', failed: true, timedOut: false, isCanceled: false, killed: false }
|
Unit Test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading