-
Notifications
You must be signed in to change notification settings - Fork 90
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
Option to allow don't sort sub-keys #317
Comments
Please see the readme for an explanation (https://github.com/keithamus/sort-package-json?tab=readme-ov-file#i-would-like-this-tool-to-be-configurable-with-a-config-file-or-command-line-arguments):
|
Thanks for your reply, and sorry for my noise issue. I will provide this option from my side. |
In eslint-plugin-package-json, we use
sort-package-json
to auto-fixorder-properties
rule. However,sort-package-json
also sort sub-keys too. This resulted in an issue JoshuaKGoldberg/eslint-plugin-package-json#80.Would you like to have an option to allow don't sort sub-keys? I am willing to submit a pull request for this change.
The text was updated successfully, but these errors were encountered: