nuxt / eslint

Collection of ESLint-related packages for Nuxt
https://eslint.nuxt.com
MIT License
515 stars 65 forks source link

`vue/no-ref-as-operand` does not trigger on `useState` #455

Open MikeBellika opened 2 weeks ago

MikeBellika commented 2 weeks ago

Environment


Package

@nuxt/eslint

Reproduction

https://github.com/MikeBellika/usestate_eslint_nuxt

Describe the bug

The eslint rule vue/no-ref-as-operand doesn't pick up on useState being used without a .value.

Additional context

Might be related to this https://github.com/nuxt/nuxt/issues/14882?

Logs

No response