Skip to content

Conversation

fisker
Copy link
Collaborator

@fisker fisker commented May 8, 2025

#2643

Only added test, need time to learn how it works in vue-eslint-parser.

Since we can't use scopeManager in vue <template>, we'll just ignore the expression in directives like v-if for now.

vuejs/vue-eslint-parser#263

@fisker fisker force-pushed the vue-prefer-includes branch from 65a200d to 0992dbb Compare September 7, 2025 09:27
@fisker fisker changed the title Improve vue compatibility prefer-includes and prefer-array-index-of: Prevent crash on Vue files Sep 7, 2025
@fisker fisker marked this pull request as ready for review September 7, 2025 09:50
@sindresorhus sindresorhus merged commit a1da518 into sindresorhus:main Sep 7, 2025
21 checks passed
@fisker fisker deleted the vue-prefer-includes branch September 7, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants