docs: add related rules and update ESLint Stylistic links #2067
CI.yml
on: pull_request
Lint
51s
Test with ESLint v8
2m 14s
Test without ESLint Stylistic
2m 9s
Test with typescript-eslint v7
2m 17s
Matrix: Test with old ESLint Stylistic
Matrix: Test
Annotations
8 errors
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":"a"},{"type":"infer-type","name":"b"},{"type":"infer-type","name":"c"}]
- Expected
+ Received
[
{
- "name": "a",
- "type": "infer-type",
- },
- {
- "name": "b",
- "type": "infer-type",
- },
- {
- "name": "c",
- "type": "infer-type",
+ "name": null,
+ "type": "unknown",
},
]
❯ tests/lib/utils/ts-utils/index/get-component-emits.js:120:14
|
Test (18)
The operation was canceled.
|
Test (18)
The strategy configuration was canceled because "test._21" failed
|
Test (20)
The operation was canceled.
|
Test (20)
The strategy configuration was canceled because "test._21" failed
|
Test (lts/*)
The operation was canceled.
|
Test (lts/*)
The strategy configuration was canceled because "test._21" failed
|