Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with yarn dependency sorting #71

Open
oliversalzburg opened this issue Jun 22, 2024 · 0 comments
Open

Conflict with yarn dependency sorting #71

oliversalzburg opened this issue Jun 22, 2024 · 0 comments

Comments

@oliversalzburg
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant