feat: add vue/no-undef-directives rule #2330
CI.yml
on: pull_request
Lint
54s
Test with ESLint v8
2m 17s
Test without ESLint Stylistic
2m 4s
Test with typescript-eslint v7
2m 23s
Matrix: Test with old ESLint Stylistic
Matrix: Test
Annotations
18 errors and 1 warning
|
Lint
Process completed with exit code 1.
|
|
Lint:
docs/rules/no-undef-directives.md#L74
Label reference '"foo"' not found
|
|
Test without ESLint Stylistic
Process completed with exit code 1.
|
|
Test with old ESLint Stylistic (2)
Process completed with exit code 1.
|
|
Test (21)
Process completed with exit code 1.
|
|
tests/lib/utils/ts-utils/index/get-component-emits.js > getComponentEmitsFromTypeDefineTypes > should return expected props with :<script setup lang="ts"> import { Emits } from './test'
defineEmits<Emits>() </script>:
tests/lib/utils/ts-utils/index/get-component-emits.js#L120
AssertionError:
[{"type":"unknown","name":null}]
===
[{"type":"infer-type","name":"foo"},{"type":"infer-type","name":"bar"},{"type":"infer-type","name":"baz"}]
- Expected
+ Received
[
{
- "name": "foo",
- "type": "infer-type",
- },
- {
- "name": "bar",
- "type": "infer-type",
- },
- {
- "name": "baz",
- "type": "infer-type",
+ "name": null,
+ "type": "unknown",
},
]
❯ tests/lib/utils/ts-utils/index/get-component-emits.js:120:14
|
|
Test with old ESLint Stylistic (4)
The strategy configuration was canceled because "test-with-old-eslint-stylistic._2" failed
|
|
Test with old ESLint Stylistic (4)
The operation was canceled.
|
|
Test (lts/*)
The strategy configuration was canceled because "test._21" failed
|
|
Test (lts/*)
The operation was canceled.
|
|
Test with old ESLint Stylistic (3)
The strategy configuration was canceled because "test-with-old-eslint-stylistic._2" failed
|
|
Test with old ESLint Stylistic (3)
The operation was canceled.
|
|
Test (18)
The strategy configuration was canceled because "test._21" failed
|
|
Test (18)
The operation was canceled.
|
|
Test (20)
The strategy configuration was canceled because "test._21" failed
|
|
Test (20)
The operation was canceled.
|
|
Test with ESLint v8
Process completed with exit code 1.
|
|
Test with typescript-eslint v7
Process completed with exit code 1.
|
|
Lint:
eslint.config.mjs#L82
Unexpected 'todo' comment: 'TODO: enable when all rules have...'
|