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.
I have these two dependencies in my package:
When I run
yarn install, it automatically reformats mypackage.jsonand orders the dependencies as: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.