Skip to content

Conflict with yarn dependency sorting #71

@oliversalzburg

Description

@oliversalzburg

I have these two dependencies in my package:

    "@types/eslint-config-prettier": "6.11.3",
    "@types/eslint__js": "8.42.3",

When I run yarn install, it automatically reformats my package.json and orders the dependencies as:

    "@types/eslint__js": "8.42.3",
    "@types/eslint-config-prettier": "6.11.3",

When I then run yarn prettier-package-json --write, the order is changed back. This causes constant changes during operation and I'm not sure how to resolve this easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions