Skip to content

yarn lint fails when creating instance inside the create-eth repo #230

Open
@technophile-04

Description

@technophile-04

Description:

If you create an instance inside the create-eth repo the yarn lint fails.

Reason:

I think it's due to how yarn manages the dependencies. And since here in create-eth we also have eslint v9 and it's peer dependencies are not locked and since we have higher versions of peer dependencies in create-eth the instance lint from hardhat take those higher peer dependencies.

Peer dependencies not locked Image
And if you do `yarn why` in instance which is created inside the create-eth repo you get this: Image
Ideally there would have only been the 8.8.1 (below is the SS from scffold-eth) Image

Solution:

Talking with @carletex, since this will occur only for people testing create-eth and extension developer maybe we should give a small disclaimer in Extension docs / while testing that creating avoid creating the instance inside already initialize project or inside create-eth

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