Skip to content

chore: upgrade eslint #13336

chore: upgrade eslint

chore: upgrade eslint #13336

Triggered via pull request December 20, 2024 13:09
Status Cancelled
Total duration 59m 15s
Artifacts 10

main.yml

on: pull_request
Matrix: checks / test
it-tests  /  prepare-verdaccio
3m 10s
it-tests / prepare-verdaccio
documentation-pr  /  build
documentation-pr / build
Matrix: it-tests / it-tests
documentation-pr  /  deploy-on-azure-static-webapp
documentation-pr / deploy-on-azure-static-webapp
documentation-main  /  deploy-on-azure-static-webapp
documentation-main / deploy-on-azure-static-webapp
publish-packages  /  publish-extensions
publish-packages / publish-extensions
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
new otter application with eslint config › should add eslint config to existing application: packages/@o3r/eslint-config/schematics/index.it.spec.ts#L41
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: yarn ng lint test-app --fix STDERR: An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit') Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts See \"/tmp/ng-AePZdo/angular-errors.log\" for further details. /home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/rules/no-unused-expressions.js:75 allowShortCircuit, ^· TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit') Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts at Object.create (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/rules/no-unused-expressions.js:75:13) at create (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/@typescript-eslint-eslint-plugin-virtual-d5216a2c03/3/otter/.cache/test-app/cache/@typescript-eslint-eslint-plugin-npm-8.0.1-475b2aa961-10c0.zip/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js:28:32) at Object.create (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/@typescript-eslint-utils-virtual-68df03e897/3/otter/.cache/test-app/cache/@typescript-eslint-utils-npm-8.0.1-e12ab5f306-10c0.zip/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js:31:20) at createRuleListeners (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:944:21) at /home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1082:84 at Array.forEach (<anonymous>) at runRules (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1013:34) at #flatVerifyWithoutProcessors (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1911:31) at Linter._verifyWithFlatConfigArrayAndWithoutProcessors (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:1993:49) at Linter._verifyWithFlatConfigArray (/home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/linter/linter.js:2082:21)· Node.js v20.18.1· OUTPUT: , Linting \"test-app\"... ,An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit') Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts See \"/tmp/ng-AePZdo/angular-errors.log\" for further details. /home/runner/work/otter/it-tests/test-app-eslint-config/.yarn/__virtual__/eslint-virtual-660b3e3d8d/3/otter/.cache/test-app/cache/eslint-npm-9.16.0-62663df612-10c0.zip/node_modules/eslint/lib/rules/no-unused-expressions.js:75 allowShortCircuit,
it-tests / it-tests (ubuntu-latest, yarn, o3r-project-with-app)
Process completed with exit code 1.
new otter application with eslint config › should add eslint config to existing application: packages/@o3r/eslint-config/schematics/index.it.spec.ts#L41
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm exec ng lint test-app -- --fix STDERR: An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit') Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts See \"/tmp/ng-h89jF4/angular-errors.log\" for further details. /home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/rules/no-unused-expressions.js:75 allowShortCircuit, ^· TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit') Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts at Object.create (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/rules/no-unused-expressions.js:75:13) at create (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js:28:32) at Object.create (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js:31:20) at createRuleListeners (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/linter/linter.js:944:21) at /home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/linter/linter.js:1082:84 at Array.forEach (<anonymous>) at runRules (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/linter/linter.js:1013:34) at #flatVerifyWithoutProcessors (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/linter/linter.js:1911:31) at Linter._verifyWithFlatConfigArrayAndWithoutProcessors (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/linter/linter.js:1993:49) at Linter._verifyWithFlatConfigArray (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/linter/linter.js:2082:21)· Node.js v20.18.1· OUTPUT: , Linting \"test-app\"... ,An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit') Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts See \"/tmp/ng-h89jF4/angular-errors.log\" for further details. /home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/rules/no-unused-expressions.js:75 allowShortCircuit, ^· TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit') Occurred while linting /home/runner/work/otter/it-tests/test-app-eslint-config/apps/test-app/src/app/app.component.spec.ts at Object.create (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/rules/no-unused-expressions.js:75:13) at create (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js:28:32) at Object.create (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js:31:20) at createRuleListeners (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/linter/linter.js:944:21) at /home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/linter/linter.js:1082:84 at Array.forEach (<anonymous>) at runRules (/home/runner/work/otter/it-tests/test-app-eslint-config/node_modules/eslint/lib/linter/linter.js:1013:34) at #flatVerifyWithoutProcessors (/home/runner/work/otter/it-tests/test-ap
it-tests / it-tests (ubuntu-latest, npm, o3r-project-with-app)
Process completed with exit code 1.
it-tests / it-tests (windows-latest, yarn, o3r-project-with-app)
Canceling since a higher priority waiting request for 'ci-refs/pull/2633/merge-main' exists
new otter application with eslint config › should add eslint config to existing application: packages/@o3r/eslint-config/schematics/index.it.spec.ts#L41
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: yarn ng lint test-app --fix STDERR: An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit') Occurred while linting D:\\a\\otter\\it-tests\\test-app-eslint-config\\apps\\test-app\\src\\app\\app.component.spec.ts See \"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\ng-sLiPMM\\angular-errors.log\" for further details. D:\\a\\otter\\it-tests\\test-app-eslint-config\\.yarn\\__virtual__\\eslint-virtual-660b3e3d8d\\3\\otter\\.cache\\test-app\\cache\\eslint-npm-9.16.0-62663df612-10c0.zip\\node_modules\\eslint\\lib\\rules\\no-unused-expressions.js:75· allowShortCircuit,· ^··· TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')· Occurred while linting D:\\a\\otter\\it-tests\\test-app-eslint-config\\apps\\test-app\\src\\app\\app.component.spec.ts· at Object.create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\.yarn\\__virtual__\\eslint-virtual-660b3e3d8d\\3\\otter\\.cache\\test-app\\cache\\eslint-npm-9.16.0-62663df612-10c0.zip\\node_modules\\eslint\\lib\\rules\\no-unused-expressions.js:75:13)· at create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\.yarn\\__virtual__\\@typescript-eslint-eslint-plugin-virtual-d5216a2c03\\3\\otter\\.cache\\test-app\\cache\\@typescript-eslint-eslint-plugin-npm-8.0.1-475b2aa961-10c0.zip\\node_modules\\@typescript-eslint\\eslint-plugin\\dist\\rules\\no-unused-expressions.js:28:32)· at Object.create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\.yarn\\__virtual__\\@typescript-eslint-utils-virtual-68df03e897\\3\\otter\\.cache\\test-app\\cache\\@typescript-eslint-utils-npm-8.0.1-e12ab5f306-10c0.zip\\node_modules\\@typescript-eslint\\utils\\dist\\eslint-utils\\RuleCreator.js:31:20)· at createRuleListeners (D:\\a\\otter\\it-tests\\test-app-eslint-config\\.yarn\\__virtual__\\eslint-virtual-660b3e3d8d\\3\\otter\\.cache\\test-app\\cache\\eslint-npm-9.16.0-62663df612-10c0.zip\\node_modules\\eslint\\lib\\linter\\linter.js:944:21)· at D:\\a\\otter\\it-tests\\test-app-eslint-config\\.yarn\\__virtual__\\eslint-virtual-660b3e3d8d\\3\\otter\\.cache\\test-app\\cache\\eslint-npm-9.16.0-62663df612-10c0.zip\\node_modules\\eslint\\lib\\linter\\linter.js:1082:84· at Array.forEach (<anonymous>)· at runRules (D:\\a\\otter\\it-tests\\test-app-eslint-config\\.yarn\\__virtual__\\eslint-virtual-660b3e3d8d\\3\\otter\\.cache\\test-app\\cache\\eslint-npm-9.16.0-62663df612-10c0.zip\\node_modules\\eslint\\lib\\linter\\linter.js:1013:34)· at #flatVerifyWithoutProcessors (D:\\a\\otter\\it-tests\\test-app-eslint-config\\.yarn\\__virtual__\\eslint-virtual-660b3e3d8d\\3\\otter\\.cache\\test-app\\cache\\eslint-npm-9.16.0-62663df612-10c0.zip\\node_modules\\eslint\\lib\\linter\\linter.js:1911:31)· at Linter._verifyWithFlatConfigArrayAndWithoutProcessors (D:\\a\\otter\\it-tests\\test-app-eslint-config\\.yarn\\__virtual__\\eslint-virtual-660b3e3d8d\\3\\otter\\.cache\\test-app\\cache\\eslint-npm-9.16.0-62663df612-10c0.zip\\node_modules\\eslint\\lib\\linter\\linter.js:1993:49)· at Linter._verifyWithFlatConfigArray (D:\\a\\otter\\it-tests\\test-app-eslint-config\\.yarn\\__virtual__\\eslint-virtual-660b3e3d8d\\3\\otter\\.cache\\test-app\\cache\\eslint-npm-9.16.0-62663df612-10c0.zip\\node_modules\\eslint\\lib\\linter\\linter.js:2082:21)··· Node.js v20.18.1·· OUTPUT: , Linting \"test-app\"... ,An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit') Occurred while linting D:\\a\\otter\\it-tests\\test-app-eslint-config\\apps\\test-app\\src\\app\\app.component.spec.ts See \"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\ng-sLiPMM\\angular-errors.log\" for further details. D:\\a\\otter\\it-tests\\test-app-eslint-config\\.yarn\\__virtual__\\eslint-virtual-660b3e3d8d\\3\\otter\\.cache\\test-app\
it-tests / it-tests (windows-latest, yarn, o3r-project-with-app)
The operation was canceled.
it-tests / it-tests (windows-latest, npm, o3r-project-with-app)
Canceling since a higher priority waiting request for 'ci-refs/pull/2633/merge-main' exists
new otter application with eslint config › should add eslint config to existing application: packages/@o3r/eslint-config/schematics/index.it.spec.ts#L41
expect(received).not.toThrow() Error name: "Error" Error message: "Command failed: npm exec ng lint test-app -- --fix STDERR: An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit') Occurred while linting D:\\a\\otter\\it-tests\\test-app-eslint-config\\apps\\test-app\\src\\app\\app.component.spec.ts See \"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\ng-ixvmom\\angular-errors.log\" for further details. D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\rules\\no-unused-expressions.js:75· allowShortCircuit,· ^··· TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')· Occurred while linting D:\\a\\otter\\it-tests\\test-app-eslint-config\\apps\\test-app\\src\\app\\app.component.spec.ts· at Object.create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\rules\\no-unused-expressions.js:75:13)· at create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\@typescript-eslint\\eslint-plugin\\dist\\rules\\no-unused-expressions.js:28:32)· at Object.create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\@typescript-eslint\\eslint-plugin\\node_modules\\@typescript-eslint\\utils\\dist\\eslint-utils\\RuleCreator.js:31:20)· at createRuleListeners (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:944:21)· at D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1082:84· at Array.forEach (<anonymous>)· at runRules (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1013:34)· at #flatVerifyWithoutProcessors (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1911:31)· at Linter._verifyWithFlatConfigArrayAndWithoutProcessors (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1993:49)· at Linter._verifyWithFlatConfigArray (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:2082:21)··· Node.js v20.18.1·· OUTPUT: , Linting \"test-app\"... ,An unhandled exception occurred: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit') Occurred while linting D:\\a\\otter\\it-tests\\test-app-eslint-config\\apps\\test-app\\src\\app\\app.component.spec.ts See \"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\ng-ixvmom\\angular-errors.log\" for further details. D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\rules\\no-unused-expressions.js:75· allowShortCircuit,· ^··· TypeError: Error while loading rule '@typescript-eslint/no-unused-expressions': Cannot read properties of undefined (reading 'allowShortCircuit')· Occurred while linting D:\\a\\otter\\it-tests\\test-app-eslint-config\\apps\\test-app\\src\\app\\app.component.spec.ts· at Object.create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\rules\\no-unused-expressions.js:75:13)· at create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\@typescript-eslint\\eslint-plugin\\dist\\rules\\no-unused-expressions.js:28:32)· at Object.create (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\@typescript-eslint\\eslint-plugin\\node_modules\\@typescript-eslint\\utils\\dist\\eslint-utils\\RuleCreator.js:31:20)· at createRuleListeners (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:944:21)· at D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1082:84· at Array.forEach (<anonymous>)· at runRules (D:\\a\\otter\\it-tests\\test-app-eslint-config\\node_modules\\eslint\\lib\\linter\\linter.js:1013:34)· at #flatVerifyWithoutProcessors (D:\\a
it-tests / it-tests (windows-latest, npm, o3r-project-with-app)
The operation was canceled.
yarn_lock_check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
version
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checks / markdown-link-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checks / github-actions
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checks / test (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checks / lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
checks / test (windows-latest)
Error: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
it-tests / prepare-verdaccio
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
e2e-tests / e2e-tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
it-tests / it-tests (ubuntu-latest, yarn, o3r-project-with-app)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
it-tests / it-tests (ubuntu-latest, npm, o3r-project-with-app)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
dist
30.5 MB
it-reports-ubuntu-latest-npm-
11.2 KB
it-reports-ubuntu-latest-yarn-
11.5 KB
it-reports-windows-latest-npm-
6.39 KB
it-reports-windows-latest-yarn-
7.55 KB
it-tests-ubuntu-latest-npm-
431 MB
it-tests-ubuntu-latest-yarn-
249 MB
ut-reports-ubuntu-latest
56.3 KB
ut-reports-windows-latest
56.4 KB
verdaccio
15.1 MB