Closed zloirock closed 1 month ago
Having the same issue in a zustand
slice file:
Oops! Something went wrong! :(
ESLint: 9.0.0
TypeError: context.getScope is not a function
Occurred while linting /PATH-TO-FILE-OMITTED/src/beautifulSugar/slices/configSlice.ts:8
Rule: "import/no-mutable-exports"
at handleExportNamed (/PATH-TO-FILE-OMITTED/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js:43:29)
at ruleErrorHandler (/PATH-TO-FILE-OMITTED/node_modules/eslint/lib/linter/linter.js:1145:48)
at /PATH-TO-FILE-OMITTED/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach (<anonymous>)
at Object.emit (/PATH-TO-FILE-OMITTED/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/PATH-TO-FILE-OMITTED/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
at NodeEventGenerator.applySelectors (/PATH-TO-FILE-OMITTED/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
at NodeEventGenerator.enterNode (/PATH-TO-FILE-OMITTED/node_modules/eslint/lib/linter/node-event-generator.js:340:14)
at runRules (/PATH-TO-FILE-OMITTED/node_modules/eslint/lib/linter/linter.js:1184:40)
at Linter._verifyWithoutProcessors (/PATH-TO-FILE-OMITTED/node_modules/eslint/lib/linter/linter.js:1453:31)
Now this is the last of dozens of eslint
plugins that I use that still do not support eslint@9
at all -> block for updating.
This should be fixed via https://github.com/platinumazure/eslint-plugin-qunit/pull/532 All tests pass when tested against eslint v9. Would love to get this in and released!