We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb0051c + 982f473 commit 92dafb7Copy full SHA for 92dafb7
packages/eslint-config/lib/rules/disallow-fec-relative-imports.js
@@ -65,7 +65,7 @@ module.exports = {
65
* Determine correct variable for direct import
66
*/
67
68
- let variables = context.getDeclaredVariables(codePath);
+ let variables = context.sourceCode.getDeclaredVariables();
69
let varName = 'Unknown';
70
if (variables.length > 0) {
71
varName = variables[0].name;
0 commit comments