Skip to content

feat(prefer-const): add rule #2769

feat(prefer-const): add rule

feat(prefer-const): add rule #2769

Triggered via pull request December 11, 2024 12:35
Status Failure
Total duration 2m 16s
Artifacts

NodeCI.yml

on: pull_request
Matrix: Test for Svelte v3
Matrix: test-for-svelte-v4
Matrix: Test for typescript-eslint v5
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 9 warnings
Test for ESLint 8 on Node.js: latest OS: ubuntu-latest
No overload matches this call.
Test for ESLint 8 on Node.js: latest OS: ubuntu-latest
Argument of type 'ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | ... 38 more ... | null' is not assignable to parameter of type 'NodeOrToken'.
Test for ESLint 8 on Node.js: latest OS: ubuntu-latest
Argument of type 'DestructuringPattern | null' is not assignable to parameter of type 'DestructuringPattern'.
Test for ESLint 8 on Node.js: latest OS: ubuntu-latest
'node.context' is possibly 'null'.
Test for ESLint 8 on Node.js: latest OS: ubuntu-latest
'node.context' is possibly 'null'.
Test for ESLint 8 on Node.js: latest OS: ubuntu-latest
Process completed with exit code 2.
Test for ESLint 9 on Node.js: latest OS: ubuntu-latest
The job was canceled because "ubuntu-latest_8_latest" failed.
Test for ESLint 8 on Node.js: 20.x OS: ubuntu-latest
The job was canceled because "ubuntu-latest_8_latest" failed.
Test for ESLint 8 on Node.js: 20.x OS: ubuntu-latest
No overload matches this call.
Test for ESLint 8 on Node.js: 20.x OS: ubuntu-latest
Argument of type 'ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | ... 38 more ... | null' is not assignable to parameter of type 'NodeOrToken'.
Test for ESLint 8 on Node.js: 20.x OS: ubuntu-latest
Argument of type 'DestructuringPattern | null' is not assignable to parameter of type 'DestructuringPattern'.
Test for ESLint 8 on Node.js: 20.x OS: ubuntu-latest
'node.context' is possibly 'null'.
Test for ESLint 8 on Node.js: 20.x OS: ubuntu-latest
'node.context' is possibly 'null'.
Test for ESLint 8 on Node.js: 20.x OS: ubuntu-latest
Process completed with exit code 2.
Test for ESLint 8 on Node.js: 18.x OS: ubuntu-latest
The job was canceled because "ubuntu-latest_8_latest" failed.
Test for ESLint 8 on Node.js: 18.x OS: ubuntu-latest
No overload matches this call.
Test for ESLint 8 on Node.js: 18.x OS: ubuntu-latest
Argument of type 'ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | ... 38 more ... | null' is not assignable to parameter of type 'NodeOrToken'.
Test for ESLint 9 on Node.js: 18.x OS: ubuntu-latest
The job was canceled because "ubuntu-latest_8_latest" failed.
Test for ESLint 8 on Node.js: 18.x OS: ubuntu-latest
Argument of type 'DestructuringPattern | null' is not assignable to parameter of type 'DestructuringPattern'.
Test for ESLint 8 on Node.js: 18.x OS: ubuntu-latest
'node.context' is possibly 'null'.
Test for ESLint 8 on Node.js: 18.x OS: ubuntu-latest
'node.context' is possibly 'null'.
Test for ESLint 8 on Node.js: 18.x OS: ubuntu-latest
Process completed with exit code 2.
Test for ESLint 8 on Node.js: 22.x OS: ubuntu-latest
The job was canceled because "ubuntu-latest_8_latest" failed.
Test for ESLint 9 on Node.js: 22.x OS: ubuntu-latest
The job was canceled because "ubuntu-latest_8_latest" failed.
Test for ESLint 8 on Node.js: 22.x OS: ubuntu-latest
No overload matches this call.
Test for ESLint 8 on Node.js: 22.x OS: ubuntu-latest
Argument of type 'ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | ... 38 more ... | null' is not assignable to parameter of type 'NodeOrToken'.
Test for ESLint 8 on Node.js: 22.x OS: ubuntu-latest
Argument of type 'DestructuringPattern | null' is not assignable to parameter of type 'DestructuringPattern'.
Test for ESLint 8 on Node.js: 22.x OS: ubuntu-latest
'node.context' is possibly 'null'.
Test for ESLint 8 on Node.js: 22.x OS: ubuntu-latest
'node.context' is possibly 'null'.
Test for ESLint 8 on Node.js: 22.x OS: ubuntu-latest
Process completed with exit code 2.
Test for ESLint 9 on Node.js: 20.x OS: ubuntu-latest
The job was canceled because "ubuntu-latest_8_latest" failed.
Test for ESLint 9 on Node.js: 20.x OS: ubuntu-latest
No overload matches this call.
Test for ESLint 9 on Node.js: 20.x OS: ubuntu-latest
Argument of type 'ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | ... 38 more ... | null' is not assignable to parameter of type 'NodeOrToken'.
Test for ESLint 9 on Node.js: 20.x OS: ubuntu-latest
Argument of type 'DestructuringPattern | null' is not assignable to parameter of type 'DestructuringPattern'.
Test for ESLint 9 on Node.js: 20.x OS: ubuntu-latest
'node.context' is possibly 'null'.
lint
No overload matches this call.
Test for ESLint 9 on Node.js: 20.x OS: ubuntu-latest
'node.context' is possibly 'null'.
Test for ESLint 9 on Node.js: 20.x OS: ubuntu-latest
Process completed with exit code 2.
lint
Argument of type 'ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | ... 38 more ... | null' is not assignable to parameter of type 'NodeOrToken'.
lint
Argument of type 'DestructuringPattern | null' is not assignable to parameter of type 'DestructuringPattern'.
lint
'node.context' is possibly 'null'.
lint
'node.context' is possibly 'null'.
lint
Process completed with exit code 2.
build
No overload matches this call.
build
Argument of type 'ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AssignmentPattern | ... 38 more ... | null' is not assignable to parameter of type 'NodeOrToken'.
build
Argument of type 'DestructuringPattern | null' is not assignable to parameter of type 'DestructuringPattern'.
build
'node.context' is possibly 'null'.
build
'node.context' is possibly 'null'.
build
Process completed with exit code 2.
Test for typescript-eslint v5 (ubuntu-latest, 18)
Process completed with exit code 7.
Test for ESLint 8 on Node.js: latest OS: ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
update-resources
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test for typescript-eslint v5 (ubuntu-latest, 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test for Svelte v4 on Node.js: 22 OS: ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test for Svelte v4 on Node.js: 20 OS: ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test for Svelte v4 on Node.js: 18 OS: ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test for Svelte v3 (ubuntu-latest, 18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636