Skip to content

feat: suggest making lint script in wizard #728

feat: suggest making lint script in wizard

feat: suggest making lint script in wizard #728

Triggered via pull request March 3, 2025 13:26
@DimavaDimava
synchronize #673
Dimava:patch-3
Status Failure
Total duration 2m 16s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

15 errors
test/cli.spec.ts > lint script - keep should preserve existing script: test/cli.spec.ts#L61
ExecaError: Command failed with exit code 1: node /Users/runner/work/eslint-config/eslint-config/bin/index.js '--lint=keep' file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400 throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); ^ CACError: Unknown option `--lint` at Command.checkUnknownOptions (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17) at CAC.runMatchedCommand (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13) at CAC.parse (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12) at file:///Users/runner/work/eslint-config/eslint-config/dist/cli.js:596:5 at ModuleJob.run (node:internal/modules/esm/module_job:271:25) at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5) Node.js v22.13.0 ❯ Command.checkUnknownOptions node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17 ❯ CAC.runMatchedCommand node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13 ❯ CAC.parse node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12 ❯ dist/cli.js:596:5 ❯ getFinalError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ test/cli.spec.ts:61:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node /Users/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=keep\'', command: 'node /Users/runner/work/eslint-config/eslint-config/bin/index.js --lint=keep', escapedCommand: 'node /Users/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=keep\'', cwd: '/Users/runner/work/eslint-config/eslint-config/.temp/hhhzqshxv5', durationMs: 210.712292, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.runMatchedCommand (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\n at CAC.parse (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\n at file:///Users/runner/work/eslint-config/eslint-config/dist/cli.js:596:5\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\n at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26)\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\n\nNode.js v22.13.0', stdio: [ undefined, '', 'file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at
test/cli.spec.ts > lint script - check should add check script: test/cli.spec.ts#L69
ExecaError: Command failed with exit code 1: node /Users/runner/work/eslint-config/eslint-config/bin/index.js '--lint=check' file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400 throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); ^ CACError: Unknown option `--lint` at Command.checkUnknownOptions (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17) at CAC.runMatchedCommand (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13) at CAC.parse (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12) at file:///Users/runner/work/eslint-config/eslint-config/dist/cli.js:596:5 at ModuleJob.run (node:internal/modules/esm/module_job:271:25) at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5) Node.js v22.13.0 ❯ Command.checkUnknownOptions node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17 ❯ CAC.runMatchedCommand node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13 ❯ CAC.parse node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12 ❯ dist/cli.js:596:5 ❯ getFinalError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ test/cli.spec.ts:69:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node /Users/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=check\'', command: 'node /Users/runner/work/eslint-config/eslint-config/bin/index.js --lint=check', escapedCommand: 'node /Users/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=check\'', cwd: '/Users/runner/work/eslint-config/eslint-config/.temp/hhhzqshxv5', durationMs: 136.8455, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.runMatchedCommand (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\n at CAC.parse (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\n at file:///Users/runner/work/eslint-config/eslint-config/dist/cli.js:596:5\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\n at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26)\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\n\nNode.js v22.13.0', stdio: [ undefined, '', 'file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n
test/cli.spec.ts > lint script - fix should add fix script: test/cli.spec.ts#L77
ExecaError: Command failed with exit code 1: node /Users/runner/work/eslint-config/eslint-config/bin/index.js '--lint=fix' file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400 throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); ^ CACError: Unknown option `--lint` at Command.checkUnknownOptions (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17) at CAC.runMatchedCommand (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13) at CAC.parse (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12) at file:///Users/runner/work/eslint-config/eslint-config/dist/cli.js:596:5 at ModuleJob.run (node:internal/modules/esm/module_job:271:25) at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5) Node.js v22.13.0 ❯ Command.checkUnknownOptions node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17 ❯ CAC.runMatchedCommand node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13 ❯ CAC.parse node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12 ❯ dist/cli.js:596:5 ❯ getFinalError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ test/cli.spec.ts:77:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node /Users/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=fix\'', command: 'node /Users/runner/work/eslint-config/eslint-config/bin/index.js --lint=fix', escapedCommand: 'node /Users/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=fix\'', cwd: '/Users/runner/work/eslint-config/eslint-config/.temp/hhhzqshxv5', durationMs: 81.407333, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.runMatchedCommand (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\n at CAC.parse (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\n at file:///Users/runner/work/eslint-config/eslint-config/dist/cli.js:596:5\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\n at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26)\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\n\nNode.js v22.13.0', stdio: [ undefined, '', 'file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.
test/cli.spec.ts > lint script - keep should not add script if none exists: test/cli.spec.ts#L85
ExecaError: Command failed with exit code 1: node /Users/runner/work/eslint-config/eslint-config/bin/index.js '--lint=keep' file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400 throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); ^ CACError: Unknown option `--lint` at Command.checkUnknownOptions (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17) at CAC.runMatchedCommand (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13) at CAC.parse (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12) at file:///Users/runner/work/eslint-config/eslint-config/dist/cli.js:596:5 at ModuleJob.run (node:internal/modules/esm/module_job:271:25) at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5) Node.js v22.13.0 ❯ Command.checkUnknownOptions node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17 ❯ CAC.runMatchedCommand node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13 ❯ CAC.parse node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12 ❯ dist/cli.js:596:5 ❯ getFinalError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ test/cli.spec.ts:85:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node /Users/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=keep\'', command: 'node /Users/runner/work/eslint-config/eslint-config/bin/index.js --lint=keep', escapedCommand: 'node /Users/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=keep\'', cwd: '/Users/runner/work/eslint-config/eslint-config/.temp/hhhzqshxv5', durationMs: 77.443333, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.runMatchedCommand (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\n at CAC.parse (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\n at file:///Users/runner/work/eslint-config/eslint-config/dist/cli.js:596:5\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\n at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26)\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\n\nNode.js v22.13.0', stdio: [ undefined, '', 'file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///Users/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at
test (lts/*, macos-latest)
Process completed with exit code 1.
test/cli.spec.ts > lint script - keep should preserve existing script: test/cli.spec.ts#L61
ExecaError: Command failed with exit code 1: node /home/runner/work/eslint-config/eslint-config/bin/index.js '--lint=keep' file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400 throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); ^ CACError: Unknown option `--lint` at Command.checkUnknownOptions (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17) at CAC.runMatchedCommand (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13) at CAC.parse (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12) at file:///home/runner/work/eslint-config/eslint-config/dist/cli.js:596:5 at ModuleJob.run (node:internal/modules/esm/module_job:271:25) at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5) Node.js v22.14.0 ❯ Command.checkUnknownOptions node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17 ❯ CAC.runMatchedCommand node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13 ❯ CAC.parse node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12 ❯ dist/cli.js:596:5 ❯ getFinalError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ test/cli.spec.ts:61:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node /home/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=keep\'', command: 'node /home/runner/work/eslint-config/eslint-config/bin/index.js --lint=keep', escapedCommand: 'node /home/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=keep\'', cwd: '/home/runner/work/eslint-config/eslint-config/.temp/5s71cjpz5ta', durationMs: 182.214283, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.runMatchedCommand (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\n at CAC.parse (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\n at file:///home/runner/work/eslint-config/eslint-config/dist/cli.js:596:5\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\n at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\n\nNode.js v22.14.0', stdio: [ undefined, '', 'file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.runMatchedC
test/cli.spec.ts > lint script - check should add check script: test/cli.spec.ts#L69
ExecaError: Command failed with exit code 1: node /home/runner/work/eslint-config/eslint-config/bin/index.js '--lint=check' file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400 throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); ^ CACError: Unknown option `--lint` at Command.checkUnknownOptions (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17) at CAC.runMatchedCommand (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13) at CAC.parse (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12) at file:///home/runner/work/eslint-config/eslint-config/dist/cli.js:596:5 at ModuleJob.run (node:internal/modules/esm/module_job:271:25) at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5) Node.js v22.14.0 ❯ Command.checkUnknownOptions node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17 ❯ CAC.runMatchedCommand node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13 ❯ CAC.parse node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12 ❯ dist/cli.js:596:5 ❯ getFinalError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ test/cli.spec.ts:69:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node /home/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=check\'', command: 'node /home/runner/work/eslint-config/eslint-config/bin/index.js --lint=check', escapedCommand: 'node /home/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=check\'', cwd: '/home/runner/work/eslint-config/eslint-config/.temp/5s71cjpz5ta', durationMs: 187.701241, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.runMatchedCommand (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\n at CAC.parse (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\n at file:///home/runner/work/eslint-config/eslint-config/dist/cli.js:596:5\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\n at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\n\nNode.js v22.14.0', stdio: [ undefined, '', 'file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.runMatc
test/cli.spec.ts > lint script - fix should add fix script: test/cli.spec.ts#L77
ExecaError: Command failed with exit code 1: node /home/runner/work/eslint-config/eslint-config/bin/index.js '--lint=fix' file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400 throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); ^ CACError: Unknown option `--lint` at Command.checkUnknownOptions (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17) at CAC.runMatchedCommand (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13) at CAC.parse (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12) at file:///home/runner/work/eslint-config/eslint-config/dist/cli.js:596:5 at ModuleJob.run (node:internal/modules/esm/module_job:271:25) at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5) Node.js v22.14.0 ❯ Command.checkUnknownOptions node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17 ❯ CAC.runMatchedCommand node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13 ❯ CAC.parse node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12 ❯ dist/cli.js:596:5 ❯ getFinalError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ test/cli.spec.ts:77:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node /home/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=fix\'', command: 'node /home/runner/work/eslint-config/eslint-config/bin/index.js --lint=fix', escapedCommand: 'node /home/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=fix\'', cwd: '/home/runner/work/eslint-config/eslint-config/.temp/5s71cjpz5ta', durationMs: 232.810932, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.runMatchedCommand (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\n at CAC.parse (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\n at file:///home/runner/work/eslint-config/eslint-config/dist/cli.js:596:5\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\n at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\n\nNode.js v22.14.0', stdio: [ undefined, '', 'file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.runMatchedComma
test/cli.spec.ts > lint script - keep should not add script if none exists: test/cli.spec.ts#L85
ExecaError: Command failed with exit code 1: node /home/runner/work/eslint-config/eslint-config/bin/index.js '--lint=keep' file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400 throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``); ^ CACError: Unknown option `--lint` at Command.checkUnknownOptions (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17) at CAC.runMatchedCommand (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13) at CAC.parse (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12) at file:///home/runner/work/eslint-config/eslint-config/dist/cli.js:596:5 at ModuleJob.run (node:internal/modules/esm/module_job:271:25) at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26) at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5) Node.js v22.14.0 ❯ Command.checkUnknownOptions node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17 ❯ CAC.runMatchedCommand node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13 ❯ CAC.parse node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12 ❯ dist/cli.js:596:5 ❯ getFinalError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ test/cli.spec.ts:85:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node /home/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=keep\'', command: 'node /home/runner/work/eslint-config/eslint-config/bin/index.js --lint=keep', escapedCommand: 'node /home/runner/work/eslint-config/eslint-config/bin/index.js \'--lint=keep\'', cwd: '/home/runner/work/eslint-config/eslint-config/.temp/5s71cjpz5ta', durationMs: 183.999083, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.runMatchedCommand (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\n at CAC.parse (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\n at file:///home/runner/work/eslint-config/eslint-config/dist/cli.js:596:5\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\n at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\n\nNode.js v22.14.0', stdio: [ undefined, '', 'file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\n ^\n\nCACError: Unknown option `--lint`\n at Command.checkUnknownOptions (file:///home/runner/work/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\n at CAC.runMatchedC
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
test/cli.spec.ts > lint script - keep should preserve existing script: test/cli.spec.ts#L61
ExecaError: Command failed with exit code 1: node "D:\a\eslint-config\eslint-config\bin\index.js" "--lint=keep" file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\r throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\r ^\r \r CACError: Unknown option `--lint`\r at Command.checkUnknownOptions (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\r at CAC.runMatchedCommand (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\r at CAC.parse (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\r at file:///D:/a/eslint-config/eslint-config/dist/cli.js:596:5\r at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\r at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)\r at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\r \r Node.js v22.14.0 ❯ getFinalError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ test/cli.spec.ts:61:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node "D:\a\eslint-config\eslint-config\bin\index.js" "--lint=keep"', command: 'node D:\a\eslint-config\eslint-config\bin\index.js --lint=keep', escapedCommand: 'node "D:\a\eslint-config\eslint-config\bin\index.js" "--lint=keep"', cwd: 'D:\a\eslint-config\eslint-config\.temp\eb8f19npjh', durationMs: 281.1644, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\r\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\r\n ^\r\n\r\nCACError: Unknown option `--lint`\r\n at Command.checkUnknownOptions (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\r\n at CAC.runMatchedCommand (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\r\n at CAC.parse (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\r\n at file:///D:/a/eslint-config/eslint-config/dist/cli.js:596:5\r\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\r\n at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\r\n\r\nNode.js v22.14.0', stdio: [ undefined, '', 'file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\r\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\r\n ^\r\n\r\nCACError: Unknown option `--lint`\r\n at Command.checkUnknownOptions (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\r\n at CAC.runMatchedCommand (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\r\n at CAC.parse (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\r\n at file:///D:/a/eslint-config/eslint-config/dist/cli.js:596:5\r\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\r\n at async onImport.tracePromise.__proto__ (node
test/cli.spec.ts > lint script - check should add check script: test/cli.spec.ts#L69
ExecaError: Command failed with exit code 1: node "D:\a\eslint-config\eslint-config\bin\index.js" "--lint=check" file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\r throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\r ^\r \r CACError: Unknown option `--lint`\r at Command.checkUnknownOptions (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\r at CAC.runMatchedCommand (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\r at CAC.parse (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\r at file:///D:/a/eslint-config/eslint-config/dist/cli.js:596:5\r at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\r at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)\r at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\r \r Node.js v22.14.0 ❯ getFinalError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ test/cli.spec.ts:69:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node "D:\a\eslint-config\eslint-config\bin\index.js" "--lint=check"', command: 'node D:\a\eslint-config\eslint-config\bin\index.js --lint=check', escapedCommand: 'node "D:\a\eslint-config\eslint-config\bin\index.js" "--lint=check"', cwd: 'D:\a\eslint-config\eslint-config\.temp\eb8f19npjh', durationMs: 312.892, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\r\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\r\n ^\r\n\r\nCACError: Unknown option `--lint`\r\n at Command.checkUnknownOptions (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\r\n at CAC.runMatchedCommand (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\r\n at CAC.parse (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\r\n at file:///D:/a/eslint-config/eslint-config/dist/cli.js:596:5\r\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\r\n at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\r\n\r\nNode.js v22.14.0', stdio: [ undefined, '', 'file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\r\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\r\n ^\r\n\r\nCACError: Unknown option `--lint`\r\n at Command.checkUnknownOptions (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\r\n at CAC.runMatchedCommand (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\r\n at CAC.parse (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\r\n at file:///D:/a/eslint-config/eslint-config/dist/cli.js:596:5\r\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\r\n at async onImport.tracePromise.__proto__ (n
test/cli.spec.ts > lint script - fix should add fix script: test/cli.spec.ts#L77
ExecaError: Command failed with exit code 1: node "D:\a\eslint-config\eslint-config\bin\index.js" "--lint=fix" file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\r throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\r ^\r \r CACError: Unknown option `--lint`\r at Command.checkUnknownOptions (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\r at CAC.runMatchedCommand (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\r at CAC.parse (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\r at file:///D:/a/eslint-config/eslint-config/dist/cli.js:596:5\r at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\r at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)\r at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\r \r Node.js v22.14.0 ❯ getFinalError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ test/cli.spec.ts:77:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node "D:\a\eslint-config\eslint-config\bin\index.js" "--lint=fix"', command: 'node D:\a\eslint-config\eslint-config\bin\index.js --lint=fix', escapedCommand: 'node "D:\a\eslint-config\eslint-config\bin\index.js" "--lint=fix"', cwd: 'D:\a\eslint-config\eslint-config\.temp\eb8f19npjh', durationMs: 1099.6328, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\r\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\r\n ^\r\n\r\nCACError: Unknown option `--lint`\r\n at Command.checkUnknownOptions (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\r\n at CAC.runMatchedCommand (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\r\n at CAC.parse (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\r\n at file:///D:/a/eslint-config/eslint-config/dist/cli.js:596:5\r\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\r\n at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\r\n\r\nNode.js v22.14.0', stdio: [ undefined, '', 'file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\r\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\r\n ^\r\n\r\nCACError: Unknown option `--lint`\r\n at Command.checkUnknownOptions (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\r\n at CAC.runMatchedCommand (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\r\n at CAC.parse (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\r\n at file:///D:/a/eslint-config/eslint-config/dist/cli.js:596:5\r\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\r\n at async onImport.tracePromise.__proto__ (node:in
test/cli.spec.ts > lint script - keep should not add script if none exists: test/cli.spec.ts#L85
ExecaError: Command failed with exit code 1: node "D:\a\eslint-config\eslint-config\bin\index.js" "--lint=keep" file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\r throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\r ^\r \r CACError: Unknown option `--lint`\r at Command.checkUnknownOptions (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\r at CAC.runMatchedCommand (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\r at CAC.parse (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\r at file:///D:/a/eslint-config/eslint-config/dist/cli.js:596:5\r at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\r at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)\r at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\r \r Node.js v22.14.0 ❯ getFinalError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/final-error.js:6:9 ❯ makeError node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/return/result.js:108:16 ❯ getAsyncResult node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:167:4 ❯ handlePromise node_modules/.pnpm/execa@9.5.2/node_modules/execa/lib/methods/main-async.js:150:17 ❯ test/cli.spec.ts:85:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { shortMessage: 'Command failed with exit code 1: node "D:\a\eslint-config\eslint-config\bin\index.js" "--lint=keep"', command: 'node D:\a\eslint-config\eslint-config\bin\index.js --lint=keep', escapedCommand: 'node "D:\a\eslint-config\eslint-config\bin\index.js" "--lint=keep"', cwd: 'D:\a\eslint-config\eslint-config\.temp\eb8f19npjh', durationMs: 1211.569, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '', stderr: 'file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\r\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\r\n ^\r\n\r\nCACError: Unknown option `--lint`\r\n at Command.checkUnknownOptions (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\r\n at CAC.runMatchedCommand (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\r\n at CAC.parse (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\r\n at file:///D:/a/eslint-config/eslint-config/dist/cli.js:596:5\r\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\r\n at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)\r\n at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)\r\n\r\nNode.js v22.14.0', stdio: [ undefined, '', 'file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400\r\n throw new CACError(`Unknown option \`${name.length > 1 ? `--${name}` : `-${name}`}\``);\r\n ^\r\n\r\nCACError: Unknown option `--lint`\r\n at Command.checkUnknownOptions (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:400:17)\r\n at CAC.runMatchedCommand (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:598:13)\r\n at CAC.parse (file:///D:/a/eslint-config/eslint-config/node_modules/.pnpm/cac@6.7.14/node_modules/cac/dist/index.mjs:537:12)\r\n at file:///D:/a/eslint-config/eslint-config/dist/cli.js:596:5\r\n at ModuleJob.run (node:internal/modules/esm/module_job:271:25)\r\n at async onImport.tracePromise.__proto__ (node
test (lts/*, windows-latest)
Process completed with exit code 1.