Checklist
Tell us about your environment
- ESLint version: 9.39.2
- eslint-plugin-vue version: 10.7.0
- Vue version: 3.5.26
- Node version: 24
- Operating System: macOS
Please show your full configuration:
rules: {
'vue/define-props-destructuring': 'error'
}
What did you do?
<script setup lang="ts">
defineProps<{ message: string }>();
</script>
What did you expect to happen?
No setting for vue/define-props-destructuring should generate an error when props aren't accessed within <script setup>
What actually happened?
error Prefer destructuring from `defineProps` directly vue/define-props-destructuring
Checklist
Tell us about your environment
Please show your full configuration:
What did you do?
What did you expect to happen?
No setting for
vue/define-props-destructuringshould generate an error when props aren't accessed within<script setup>What actually happened?