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

Sort package.json properties #40

Open
haltcase opened this issue Dec 13, 2024 · 0 comments
Open

Sort package.json properties #40

haltcase opened this issue Dec 13, 2024 · 0 comments

Comments

@haltcase
Copy link

Given that Cargo.toml is supported by dprint-plugin-toml, I thought it would make sense to handle package.json similarly here. This would help me migrate more fully to dprint.

I have limited Rust experience, but would be willing to have a go at a PR for this feature (the TOML plugin should be a good reference).

Prior art

Alternatives

  1. If not acceptable as a feature of this plugin, write it as a separate one. I'd also be willing to give that a shot, but in that case would appreciate guidance (mostly around the Rust/dprint infra).
  2. Continue to use existing options
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