You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<template>
<divv-for="(item, index) in suggestions":key></div>
</template>
Expect:
report v-bind directive needs an attribute value.
Actual:
crash.
Cannot read property 'references' of null
TypeError: Cannot read property 'references' of null
at isUsingIterationVar (node_modules/eslint-plugin-vue/lib/rules/no-invalid-v-for.js:24:32)
at EventEmitter.VAttribute[directive=true][key.name='for'] (node_modules/eslint-plugin-vue/lib/rules/no-invalid-v-for.js:54:32)
at emitOne (events.js:120:20)
at EventEmitter.emit (events.js:210:7)
at NodeEventGenerator.applySelector (node_modules/eslint/lib/util/node-event-generator.js:265:26)
at NodeEventGenerator.applySelectors (node_modules/eslint/lib/util/node-event-generator.js:294:22)
at NodeEventGenerator.enterNode (node_modules/eslint/lib/util/node-event-generator.js:308:14)
at traverse (node_modules/eslint-plugin-vue/node_modules/vue-eslint-parser/lib/traverse-nodes.js:137:15)
at traverse (node_modules/eslint-plugin-vue/node_modules/vue-eslint-parser/lib/traverse-nodes.js:146:21)
at traverse (node_modules/eslint-plugin-vue/node_modules/vue-eslint-parser/lib/traverse-nodes.js:151:13)
The text was updated successfully, but these errors were encountered:
Version:
eslint-plugin-vue 3.1.1
eslint: 4.0.0
Minimal template:
Expect:
report
v-bind
directive needs an attribute value.Actual:
crash.
The text was updated successfully, but these errors were encountered: