-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
🛠 Tooling: sort package.json
#223
🛠 Tooling: sort package.json
#223
Comments
Agreed,
The difference is, I have them sorted in alphabetical order. Which is something I believe in - it's hard to memorize arbitrary sorts for different systems. Alphabetical is a nice predictable standard. What do you think? Btw, I transferred this issue over from |
Personally, I think the why It's also doesn't enforce sorting on elements where order matter (such as with the |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
All right, I filed ota-meshi/eslint-plugin-jsonc#211. The alphabetical ordering feels wrong to me... but so did a lot of good tooling things, such as Prettier. So maybe I'm just being a luddite. Let's try it out! 🚀 |
Bug Report Checklist
main
branch of the repository.Overview
Keep
package.json
sorted to make it easy to quickly find each section.Additional Info
This can automatically be done with a prettier plugin.
The text was updated successfully, but these errors were encountered: