Skip to content

eslint-plugin-lingui tried to access typescript error #97

@nmoinvaz

Description

@nmoinvaz

Describe the bug
After upgrading eslint-plugin-lingui from 0.8.1 to 0.9.0 I get the following error:

ESLint: 8.57.1

Error: Failed to load plugin 'lingui' declared in '.eslintrc.json': eslint-plugin-lingui tried to access typescript, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: typescript
Required by: eslint-plugin-lingui@virtual:852b4441a6a75c926a70d0844547c3df7516293a0007e3a7[15]

Expected behavior
No error

Additional context
React 17
Yarn PNP
Vite JS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions