test: update examples to pass linting without errors #47
Annotations
12 errors
Node 20 on ubuntu-latest:
examples/with-cypress/.eslintrc.cjs#L2
A `require()` style import is forbidden
|
Node 20 on ubuntu-latest:
examples/with-cypress/.eslintrc.cjs#L2
A `require()` style import is forbidden
|
test/index.spec.ts > should pass lint without error in new projects > with-cypress:
test/index.spec.ts#L34
ExecaError: Command failed with exit code 1: pnpm --silent lint
/home/runner/work/eslint-config-typescript/eslint-config-typescript/examples/with-cypress/.eslintrc.cjs
2:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
✖ 1 problem (1 error, 0 warnings)
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ test/index.spec.ts:34:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: pnpm --silent lint', command: 'pnpm --silent lint', escapedCommand: 'pnpm --silent lint', cwd: '/home/runner/work/eslint-config-typescript/eslint-config-typescript/examples/with-cypress', durationMs: 2945.255868, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '\n/home/runner/work/eslint-config-typescript/eslint-config-typescript/examples/with-cypress/.eslintrc.cjs\n 2:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports\n\n✖ 1 problem (1 error, 0 warnings)\n', stderr: '', stdio: [ undefined, '\n/home/runner/work/eslint-config-typescript/eslint-config-typescript/examples/with-cypress/.eslintrc.cjs\n 2:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports\n\n✖ 1 problem (1 error, 0 warnings)\n', '' ], ipcOutput: [], pipedFrom: [] }
|
Node 20 on ubuntu-latest
Process completed with exit code 1.
|
Node 20 on macos-latest:
examples/with-cypress/.eslintrc.cjs#L2
A `require()` style import is forbidden
|
Node 20 on macos-latest:
examples/with-cypress/.eslintrc.cjs#L2
A `require()` style import is forbidden
|
test/index.spec.ts > should pass lint without error in new projects > with-cypress:
test/index.spec.ts#L34
ExecaError: Command failed with exit code 1: pnpm --silent lint
/Users/runner/work/eslint-config-typescript/eslint-config-typescript/examples/with-cypress/.eslintrc.cjs
2:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
✖ 1 problem (1 error, 0 warnings)
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ test/index.spec.ts:34:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: pnpm --silent lint', command: 'pnpm --silent lint', escapedCommand: 'pnpm --silent lint', cwd: '/Users/runner/work/eslint-config-typescript/eslint-config-typescript/examples/with-cypress', durationMs: 2285.874167, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '\n/Users/runner/work/eslint-config-typescript/eslint-config-typescript/examples/with-cypress/.eslintrc.cjs\n 2:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports\n\n✖ 1 problem (1 error, 0 warnings)\n', stderr: '', stdio: [ undefined, '\n/Users/runner/work/eslint-config-typescript/eslint-config-typescript/examples/with-cypress/.eslintrc.cjs\n 2:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports\n\n✖ 1 problem (1 error, 0 warnings)\n', '' ], ipcOutput: [], pipedFrom: [] }
|
Node 20 on macos-latest
Process completed with exit code 1.
|
Node 20 on windows-latest:
examples/with-cypress/.eslintrc.cjs#L2
A `require()` style import is forbidden
|
Node 20 on windows-latest:
examples/with-cypress/.eslintrc.cjs#L2
A `require()` style import is forbidden
|
test/index.spec.ts > should pass lint without error in new projects > with-cypress:
test/index.spec.ts#L34
ExecaError: Command failed with exit code 1: pnpm --silent lint
D:\a\eslint-config-typescript\eslint-config-typescript\examples\with-cypress\.eslintrc.cjs
2:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
✖ 1 problem (1 error, 0 warnings)
❯ getFinalError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/final-error.js:6:9
❯ makeError node_modules/.pnpm/[email protected]/node_modules/execa/lib/return/result.js:108:16
❯ getAsyncResult node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:167:4
❯ handlePromise node_modules/.pnpm/[email protected]/node_modules/execa/lib/methods/main-async.js:150:17
❯ test/index.spec.ts:34:26
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: pnpm --silent lint', command: 'pnpm --silent lint', escapedCommand: 'pnpm --silent lint', cwd: 'D:\a\eslint-config-typescript\eslint-config-typescript\examples\with-cypress', durationMs: 4403.0984, failed: true, timedOut: false, isCanceled: false, isGracefullyCanceled: false, isTerminated: false, isMaxBuffer: false, isForcefullyTerminated: false, exitCode: 1, stdout: '\nD:\a\eslint-config-typescript\eslint-config-typescript\examples\with-cypress\.eslintrc.cjs\n 2:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports\n\n✖ 1 problem (1 error, 0 warnings)\n', stderr: '', stdio: [ undefined, '\nD:\a\eslint-config-typescript\eslint-config-typescript\examples\with-cypress\.eslintrc.cjs\n 2:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports\n\n✖ 1 problem (1 error, 0 warnings)\n', '' ], ipcOutput: [], pipedFrom: [] }
|
Node 20 on windows-latest
Process completed with exit code 1.
|