eslint
eslint copied to clipboard
`vue/no-ref-as-operand` does not trigger on `useState`
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 https://github.com/nuxt/nuxt/issues/14882?
Logs
No response