Open Ky6uk opened 5 months ago
Tell us about your environment
8.57.0
9.24.0
7.3.1
3.4.15
20.10.0
Mac OS 14.2.1
Please show your full configuration:
module.exports = { parser: 'vue-eslint-parser', parserOptions: { parser: '@typescript-eslint/parser', }, extends: ['plugin:vue/base'], rules: { 'vue/require-explicit-slots': 'error', }, };
What did you do?
<template> <div> <slot /> </div> </template> <script lang="ts" setup> interface Slots { default: () => string; } defineSlots<Slots>(); </script>
What did you expect to happen? No error reported.
What actually happened?
test.vue 3:5 error Slots must be explicitly defined vue/require-explicit-slots ✖ 1 problem (1 error, 0 warnings)
Repository to reproduce this issue https://stackblitz.com/edit/stackblitz-starters-reg1dy?file=test.vue
~$ npm run lint
Updated packages to the latest version.
Same with this generic
I just opened #2484, feel free to contribute
Tell us about your environment
8.57.0
9.24.0
7.3.1
,3.4.15
20.10.0
Mac OS 14.2.1
Please show your full configuration:
What did you do?
What did you expect to happen? No error reported.
What actually happened?
Repository to reproduce this issue https://stackblitz.com/edit/stackblitz-starters-reg1dy?file=test.vue