Skip to content

ESlint does not behave correctly when importing fetch-charset-detection #247

Open
@martinratinaud

Description

@martinratinaud

Hi all,

While using fetch-charset-detection on the Open Terms Archive, importing of this library is causing an eslint error with

error  Unable to resolve path to module 'fetch-charset-detection'  import/no-unresolved

I made a reproducable environment which behaves with the same error

Screen Shot 2022-09-15 at 10 33 07

This does not happen with other packages.

It might because there is no main in the package.json

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