Skip to content

Commit

Permalink
Use old source code getter
Browse files Browse the repository at this point in the history
  • Loading branch information
NotWoods committed Jan 22, 2024
1 parent df9b111 commit 2f921af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/forward-ref-uses-ref.js
Expand Up @@ -34,7 +34,7 @@ module.exports = {
},

create(context) {
const sourceCode = context.sourceCode;
const sourceCode = context.getSourceCode();
/**
* @param {ASTNode} node
* @returns {boolean} If the node represents the identifier `forwardRef`.
Expand Down

0 comments on commit 2f921af

Please sign in to comment.