-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The "Computed Side Effects" rule produces false positives.
<script setup>
import { ref, computed } from 'vue';
const str1 = ref('abc');
const str2 = computed(() => {
const inner = 'def';
return str1.value + inner;
});
</script>
<template>
<div>
<p>Test</p>
<p>{{ str1 }}</p>
<p>{{ str2 }}</p>
</div>
</template>
The problem is const inner = 'def';
.

Node v20.10.0
vue-mess-detector v0.63.1
Thanks, great job!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working