Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork77
Open
Description
eslint-plugin-unicorn userreported thatunicorn/prefer-includes crashes on checking
<template><divv-if="values.some(x => x === 'foo')"></div></template>
I located the problem, when I usecontext.scopeManager.acquire() to get the callback function scope, it returnsnull.
I'm not surescopeManager works here, is it bug?
Test added insindresorhus/eslint-plugin-unicorn#2645, really appreciate it if you can provide some help@ota-meshi
Metadata
Metadata
Assignees
Labels
No labels