Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MikeBellika opened this issue Jun 19, 2024 · 0 comments
Open

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

MikeBellika opened this issue Jun 19, 2024 · 0 comments

Comments

@MikeBellika
Copy link

MikeBellika commented Jun 19, 2024

Environment


  • Operating System: Darwin
  • Node Version: v22.1.0
  • Nuxt Version: 3.12.2
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.6
  • Package Manager: [email protected]
  • Builder: -
  • User Config: devtools, modules
  • Runtime Modules: @nuxt/[email protected]
  • Build Modules: -

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 nuxt/nuxt#14882?

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants