compat
1 trace
- TypeError: context.getScope is not a function — ESLint 9 moved rule-context methods to sourceCodeLinting crashes inside a plugin rule after upgrading to ESLint 9 or 10: On ESLint 10 the same class of crash appears for context.getSourceCode, context.getFilename, context.getCwd, context.getPhysicalFilename. Fix: 1.