Closed
Description
Checklist
- I have tried restarting my IDE and the issue persists.
- I have read the FAQ and my problem is not listed.
Tell us about your environment
- ESLint version: 8.57.0
- eslint-plugin-vue version: 9.26.0
- Vue version: 3.4.27
- Node version: 20.12.2
- Operating System: macOS Sonoma 14.5
Please show your full configuration:
{
rules: {
'vue/no-setup-props-reactivity-loss': 'error'
}
}
What did you do?
<template>{{ foo }}</template>
<script setup lang="ts">
const props = defineProps<{
foo: string
}>()
const foo = `${props.foo}`
</script>
What did you expect to happen?
Following code should throw an ESLint error
const foo = `${props.foo}`
What actually happened?
No error
Link to reproduce this issue