Skip to content

Commit 72e48a4

Browse files
FloEdelmannCopilot
andauthored
Use getSourceCode function
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0e52bb8 commit 72e48a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/no-v-html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports = {
6060
return utils.defineTemplateBodyVisitor(context, {
6161
/** @param {VDirective} node */
6262
"VAttribute[directive=true][key.name.name='html']"(node) {
63-
const sourceCode = context.sourceCode
63+
const sourceCode = context.getSourceCode()
6464

6565
if (
6666
node.value &&

0 commit comments

Comments
 (0)