Add util for creating extendable ESLint configurations #528
Triggered via pull request
September 25, 2024 11:56
Status
Failure
Total duration
3m 28s
Artifacts
–
lint-test.yml
on: pull_request
Prepare
2m 35s
Check workflows
6s
Matrix: Lint
Matrix: Test
Publish release
/
publish-npm
Annotations
15 errors and 5 warnings
src/index.test.js > index > is a valid ESLint config:
packages/base/src/index.test.js#L14
AssertionError: expected [ { …(9) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "column": 1,
+ "endColumn": 30,
+ "endLine": 1,
+ "line": 1,
+ "message": "This module could be parsed as a valid script.",
+ "messageId": "module",
+ "nodeType": "Program",
+ "ruleId": "import-x/unambiguous",
+ "severity": 2,
+ },
+ ]
❯ src/index.test.js:14:32
|
src/index.test.mjs > index > is a valid ESLint config:
packages/browser/src/index.test.mjs#L14
AssertionError: expected [ { …(9) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "column": 1,
+ "endColumn": 30,
+ "endLine": 1,
+ "line": 1,
+ "message": "This module could be parsed as a valid script.",
+ "messageId": "module",
+ "nodeType": "Program",
+ "ruleId": "import-x/unambiguous",
+ "severity": 2,
+ },
+ ]
❯ src/index.test.mjs:14:32
|
src/index.test.mjs > index > is a valid ESLint config:
packages/commonjs/src/index.test.mjs#L14
AssertionError: expected [ { …(9) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "column": 1,
+ "endColumn": 30,
+ "endLine": 1,
+ "line": 1,
+ "message": "This module could be parsed as a valid script.",
+ "messageId": "module",
+ "nodeType": "Program",
+ "ruleId": "import-x/unambiguous",
+ "severity": 2,
+ },
+ ]
❯ src/index.test.mjs:14:32
|
src/index.test.mjs > index > is a valid ESLint config:
packages/jest/src/index.test.mjs#L14
AssertionError: expected [ { …(9) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "column": 1,
+ "endColumn": 30,
+ "endLine": 1,
+ "line": 1,
+ "message": "This module could be parsed as a valid script.",
+ "messageId": "module",
+ "nodeType": "Program",
+ "ruleId": "import-x/unambiguous",
+ "severity": 2,
+ },
+ ]
❯ src/index.test.mjs:14:32
|
src/index.test.mjs > index > is a valid ESLint config:
packages/mocha/src/index.test.mjs#L14
AssertionError: expected [ { …(9) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "column": 1,
+ "endColumn": 30,
+ "endLine": 1,
+ "line": 1,
+ "message": "This module could be parsed as a valid script.",
+ "messageId": "module",
+ "nodeType": "Program",
+ "ruleId": "import-x/unambiguous",
+ "severity": 2,
+ },
+ ]
❯ src/index.test.mjs:14:32
|
src/index.test.mjs > index > is a valid ESLint config:
packages/nodejs/src/index.test.mjs#L14
AssertionError: expected [ { …(9) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "column": 1,
+ "endColumn": 30,
+ "endLine": 1,
+ "line": 1,
+ "message": "This module could be parsed as a valid script.",
+ "messageId": "module",
+ "nodeType": "Program",
+ "ruleId": "import-x/unambiguous",
+ "severity": 2,
+ },
+ ]
❯ src/index.test.mjs:14:32
|
Test (18.x)
Process completed with exit code 1.
|
Test (20.x)
The job was canceled because "_18_x" failed.
|
src/index.test.js > index > is a valid ESLint config:
packages/base/src/index.test.js#L14
AssertionError: expected [ { …(9) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "column": 1,
+ "endColumn": 30,
+ "endLine": 1,
+ "line": 1,
+ "message": "This module could be parsed as a valid script.",
+ "messageId": "module",
+ "nodeType": "Program",
+ "ruleId": "import-x/unambiguous",
+ "severity": 2,
+ },
+ ]
❯ src/index.test.js:14:32
|
src/index.test.mjs > index > is a valid ESLint config:
packages/browser/src/index.test.mjs#L14
AssertionError: expected [ { …(9) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "column": 1,
+ "endColumn": 30,
+ "endLine": 1,
+ "line": 1,
+ "message": "This module could be parsed as a valid script.",
+ "messageId": "module",
+ "nodeType": "Program",
+ "ruleId": "import-x/unambiguous",
+ "severity": 2,
+ },
+ ]
❯ src/index.test.mjs:14:32
|
src/index.test.mjs > index > is a valid ESLint config:
packages/commonjs/src/index.test.mjs#L14
AssertionError: expected [ { …(9) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "column": 1,
+ "endColumn": 30,
+ "endLine": 1,
+ "line": 1,
+ "message": "This module could be parsed as a valid script.",
+ "messageId": "module",
+ "nodeType": "Program",
+ "ruleId": "import-x/unambiguous",
+ "severity": 2,
+ },
+ ]
❯ src/index.test.mjs:14:32
|
src/index.test.mjs > index > is a valid ESLint config:
packages/jest/src/index.test.mjs#L14
AssertionError: expected [ { …(9) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "column": 1,
+ "endColumn": 30,
+ "endLine": 1,
+ "line": 1,
+ "message": "This module could be parsed as a valid script.",
+ "messageId": "module",
+ "nodeType": "Program",
+ "ruleId": "import-x/unambiguous",
+ "severity": 2,
+ },
+ ]
❯ src/index.test.mjs:14:32
|
src/index.test.mjs > index > is a valid ESLint config:
packages/nodejs/src/index.test.mjs#L14
AssertionError: expected [ { …(9) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "column": 1,
+ "endColumn": 30,
+ "endLine": 1,
+ "line": 1,
+ "message": "This module could be parsed as a valid script.",
+ "messageId": "module",
+ "nodeType": "Program",
+ "ruleId": "import-x/unambiguous",
+ "severity": 2,
+ },
+ ]
❯ src/index.test.mjs:14:32
|
src/index.test.mjs > index > is a valid ESLint config:
packages/mocha/src/index.test.mjs#L14
AssertionError: expected [ { …(9) } ] to strictly equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "column": 1,
+ "endColumn": 30,
+ "endLine": 1,
+ "line": 1,
+ "message": "This module could be parsed as a valid script.",
+ "messageId": "module",
+ "nodeType": "Program",
+ "ruleId": "import-x/unambiguous",
+ "severity": 2,
+ },
+ ]
❯ src/index.test.mjs:14:32
|
Test (20.x)
The operation was canceled.
|
Check workflows
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Prepare
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|