Skip to content

Commit 18fc869

Browse files
waynzhCopilot
andauthored
Update lib/rules/no-v-html.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 83555ae commit 18fc869

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/rules/no-v-html.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ module.exports = {
4141
"VAttribute[directive=true][key.name.name='html']"(node) {
4242
if (
4343
ignoreRegEx &&
44+
node.value &&
45+
node.value.expression &&
4446
node.value.expression.type === 'Identifier' &&
4547
ignoreRegEx.test(node.value.expression.name)
4648
) {

0 commit comments

Comments
 (0)