Fix test for internal eslint rules (#16378)

This commit is contained in:
fisker Cheung authored and GitHub committed 2024-06-11 10:48:37 +08:00
1 parent adcbc8bedb
commit a80380f57c
2 files changed
+34 -96

No files matched your search

@@ -30,7 +30,7 @@ module.exports = {
const variables = new Map();
return {
[selector](node) {
const scope = context.getScope();
const scope = context.sourceCode.getScope(node);
const variable = findVariable(scope, node);
/* istanbul ignore next */