This error only happens for lingui/no-unlocalized-strings, other rules are fine.
eslint@9.8.0
eslint-plugin-lingui@0.3.0
typescript-eslint@8.0.0
TypeError: Error while loading rule 'lingui/no-unlocalized-strings': Cannot destructure property 'esTreeNodeToTSNodeMap' of 'parserServices' as it is undefined.
Occurred while linting ...
at Object.create (eslint-plugin-lingui/lib/rules/no-unlocalized-strings.js:136:17)
at createRuleListeners (eslint/lib/linter/linter.js:977:21)
at eslint/lib/linter/linter.js:1108:84
at Array.forEach (<anonymous>)
at runRules (eslint/lib/linter/linter.js:1039:34)
at Linter._verifyWithFlatConfigArrayAndWithoutProcessors (eslint/lib/linter/linter.js:1947:31)
at Linter._verifyWithFlatConfigArray (eslint/lib/linter/linter.js:2086:21)
at Linter.verify (eslint/lib/linter/linter.js:1547:61)
at Linter.verifyAndFix (eslint/lib/linter/linter.js:2323:29)
at verifyText (eslint/lib/eslint/eslint.js:498:48)
This error only happens for
lingui/no-unlocalized-strings
, other rules are fine.