Skip to content

Test eslint on CI (DO NOT MERGE) #189

Test eslint on CI (DO NOT MERGE)

Test eslint on CI (DO NOT MERGE) #189

Triggered via pull request May 11, 2024 18:56
Status Failure
Total duration 59s
Artifacts

ci.yml

on: pull_request
Type Check
13s
Type Check
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 12 warnings
ubuntu-latest / Node.js 20: lib/prompt.js#L35
Replace `·shell·}·=·/**·@type·{{·shell:·SupportedShell·}}·*/·(await·enquirer.prompt(questions` with `⏎····shell⏎··}·=·/**·@type·{{·shell:·SupportedShell·}}·*/·(await·enquirer.prompt(⏎····questions⏎··`
ubuntu-latest / Node.js 20: lib/prompt.js#L47
Replace `·locationOK` with `⏎····locationOK⏎·`
ubuntu-latest / Node.js 20: lib/prompt.js#L59
Replace `·userLocation` with `⏎····userLocation⏎·`
ubuntu-latest / Node.js 20: test/getCompletionScript.js#L14
Replace `.readFileSync(require.resolve(`../lib/templates/completion.${COMPLETION_FILE_EXT[shell]}`),·'utf8'` with `⏎········.readFileSync(⏎··········require.resolve(⏎············`../lib/templates/completion.${COMPLETION_FILE_EXT[shell]}`⏎··········),⏎··········'utf8'⏎········`
ubuntu-latest / Node.js 20: test/getShellFromEnv.js#L6
Replace `⏎······()·=>·getShellFromEnv({}),⏎·····` with `()·=>·getShellFromEnv({}),`
ubuntu-latest / Node.js 20: test/getShellFromEnv.js#L9
Replace `········message:·'SHELL·cannot·be·empty',` with `······message:·'SHELL·cannot·be·empty'`
ubuntu-latest / Node.js 18: lib/prompt.js#L35
Replace `·shell·}·=·/**·@type·{{·shell:·SupportedShell·}}·*/·(await·enquirer.prompt(questions` with `⏎····shell⏎··}·=·/**·@type·{{·shell:·SupportedShell·}}·*/·(await·enquirer.prompt(⏎····questions⏎··`
ubuntu-latest / Node.js 18: lib/prompt.js#L47
Replace `·locationOK` with `⏎····locationOK⏎·`
ubuntu-latest / Node.js 18: lib/prompt.js#L59
Replace `·userLocation` with `⏎····userLocation⏎·`
ubuntu-latest / Node.js 18: test/getCompletionScript.js#L14
Replace `.readFileSync(require.resolve(`../lib/templates/completion.${COMPLETION_FILE_EXT[shell]}`),·'utf8'` with `⏎········.readFileSync(⏎··········require.resolve(⏎············`../lib/templates/completion.${COMPLETION_FILE_EXT[shell]}`⏎··········),⏎··········'utf8'⏎········`
ubuntu-latest / Node.js 18: test/getShellFromEnv.js#L6
Replace `⏎······()·=>·getShellFromEnv({}),⏎·····` with `()·=>·getShellFromEnv({}),`
ubuntu-latest / Node.js 18: test/getShellFromEnv.js#L9
Replace `········message:·'SHELL·cannot·be·empty',` with `······message:·'SHELL·cannot·be·empty'`
ubuntu-latest / Node.js 21: lib/prompt.js#L35
Replace `·shell·}·=·/**·@type·{{·shell:·SupportedShell·}}·*/·(await·enquirer.prompt(questions` with `⏎····shell⏎··}·=·/**·@type·{{·shell:·SupportedShell·}}·*/·(await·enquirer.prompt(⏎····questions⏎··`
ubuntu-latest / Node.js 21: lib/prompt.js#L47
Replace `·locationOK` with `⏎····locationOK⏎·`
ubuntu-latest / Node.js 21: lib/prompt.js#L59
Replace `·userLocation` with `⏎····userLocation⏎·`
ubuntu-latest / Node.js 21: test/getCompletionScript.js#L14
Replace `.readFileSync(require.resolve(`../lib/templates/completion.${COMPLETION_FILE_EXT[shell]}`),·'utf8'` with `⏎········.readFileSync(⏎··········require.resolve(⏎············`../lib/templates/completion.${COMPLETION_FILE_EXT[shell]}`⏎··········),⏎··········'utf8'⏎········`
ubuntu-latest / Node.js 21: test/getShellFromEnv.js#L6
Replace `⏎······()·=>·getShellFromEnv({}),⏎·····` with `()·=>·getShellFromEnv({}),`
ubuntu-latest / Node.js 21: test/getShellFromEnv.js#L9
Replace `········message:·'SHELL·cannot·be·empty',` with `······message:·'SHELL·cannot·be·empty'`
macos-latest / Node.js 20: lib/prompt.js#L35
Replace `·shell·}·=·/**·@type·{{·shell:·SupportedShell·}}·*/·(await·enquirer.prompt(questions` with `⏎····shell⏎··}·=·/**·@type·{{·shell:·SupportedShell·}}·*/·(await·enquirer.prompt(⏎····questions⏎··`
macos-latest / Node.js 20: lib/prompt.js#L47
Replace `·locationOK` with `⏎····locationOK⏎·`
macos-latest / Node.js 20: lib/prompt.js#L59
Replace `·userLocation` with `⏎····userLocation⏎·`
macos-latest / Node.js 20: test/getCompletionScript.js#L14
Replace `.readFileSync(require.resolve(`../lib/templates/completion.${COMPLETION_FILE_EXT[shell]}`),·'utf8'` with `⏎········.readFileSync(⏎··········require.resolve(⏎············`../lib/templates/completion.${COMPLETION_FILE_EXT[shell]}`⏎··········),⏎··········'utf8'⏎········`
macos-latest / Node.js 20: test/getShellFromEnv.js#L6
Replace `⏎······()·=>·getShellFromEnv({}),⏎·····` with `()·=>·getShellFromEnv({}),`
macos-latest / Node.js 20: test/getShellFromEnv.js#L9
Replace `········message:·'SHELL·cannot·be·empty',` with `······message:·'SHELL·cannot·be·empty'`
windows-latest / Node.js 20: lib/prompt.js#L35
Replace `·shell·}·=·/**·@type·{{·shell:·SupportedShell·}}·*/·(await·enquirer.prompt(questions` with `⏎····shell⏎··}·=·/**·@type·{{·shell:·SupportedShell·}}·*/·(await·enquirer.prompt(⏎····questions⏎··`
windows-latest / Node.js 20: lib/prompt.js#L47
Replace `·locationOK` with `⏎····locationOK⏎·`
windows-latest / Node.js 20: lib/prompt.js#L59
Replace `·userLocation` with `⏎····userLocation⏎·`
windows-latest / Node.js 20: test/getCompletionScript.js#L14
Replace `.readFileSync(require.resolve(`../lib/templates/completion.${COMPLETION_FILE_EXT[shell]}`),·'utf8'` with `⏎········.readFileSync(⏎··········require.resolve(⏎············`../lib/templates/completion.${COMPLETION_FILE_EXT[shell]}`⏎··········),⏎··········'utf8'⏎········`
windows-latest / Node.js 20: test/getShellFromEnv.js#L6
Replace `⏎······()·=>·getShellFromEnv({}),⏎·····` with `()·=>·getShellFromEnv({}),`
windows-latest / Node.js 20: test/getShellFromEnv.js#L9
Replace `········message:·'SHELL·cannot·be·empty',` with `······message:·'SHELL·cannot·be·empty'`
ubuntu-latest / Node.js 20
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu-latest / Node.js 20
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ubuntu-latest / Node.js 18
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu-latest / Node.js 18
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Type Check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Type Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ubuntu-latest / Node.js 21
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu-latest / Node.js 21
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
macos-latest / Node.js 20
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
macos-latest / Node.js 20
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
windows-latest / Node.js 20
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
windows-latest / Node.js 20
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/