We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6119d63 commit f60b332Copy full SHA for f60b332
lib/rules/no-async-in-computed-properties.js
@@ -126,6 +126,7 @@ function create (context) {
126
computedProperties.forEach(cp => {
127
forbiddenNodes.forEach(el => {
128
if (
129
+ cp.value &&
130
el.node.loc.start.line >= cp.value.loc.start.line &&
131
el.node.loc.end.line <= cp.value.loc.end.line
132
) {
lib/utils/index.js
@@ -349,6 +349,6 @@ module.exports = {
349
}
350
351
return { key, value }
352
- }).filter(cp => cp.value)
+ })
353
354
0 commit comments