Open
Description
eslint-plugin-unicorn
user reported that unicorn/prefer-includes
crashes on checking
<template><div v-if="values.some(x => x === 'foo')"></div></template>
I located the problem, when I use context.scopeManager.acquire()
to get the callback function scope, it returns null
.
I'm not sure scopeManager
works here, is it bug?
Test added in sindresorhus/eslint-plugin-unicorn#2645, really appreciate it if you can provide some help @ota-meshi
Metadata
Metadata
Assignees
Labels
No labels