eslint-plugin-vue
Advanced tools
Comparing version 9.20.0 to 9.20.1
@@ -325,3 +325,3 @@ /** | ||
}, | ||
onDefineModelEnter(node, model) { | ||
onDefineModelEnter(_node, model) { | ||
const ctx = getVueComponentContext(programNode) | ||
@@ -332,15 +332,2 @@ | ||
}) | ||
if ( | ||
!node.parent || | ||
node.parent.type !== 'VariableDeclarator' || | ||
node.parent.init !== node | ||
) { | ||
return | ||
} | ||
const pattern = node.parent.id | ||
const propertyReferences = | ||
propertyReferenceExtractor.extractFromPattern(pattern) | ||
ctx.verifyReferences(propertyReferences) | ||
} | ||
@@ -347,0 +334,0 @@ }), |
@@ -150,13 +150,2 @@ /** | ||
} | ||
const tracker = new ReferenceTracker(globalScope) | ||
for (const { node } of tracker.iterateGlobalReferences({ | ||
defineModel: { | ||
[ReferenceTracker.CALL]: true | ||
} | ||
})) { | ||
const expr = /** @type {CallExpression} */ (node) | ||
yield { | ||
node: expr | ||
} | ||
} | ||
} | ||
@@ -163,0 +152,0 @@ |
{ | ||
"name": "eslint-plugin-vue", | ||
"version": "9.20.0", | ||
"version": "9.20.1", | ||
"description": "Official ESLint plugin for Vue.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1307587
42310