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

Ship with json plugin #132

Open
stephenh opened this issue Aug 26, 2022 · 0 comments
Open

Ship with json plugin #132

stephenh opened this issue Aug 26, 2022 · 0 comments

Comments

@stephenh
Copy link

Assuming it's not a huge deal, JSON is common in JS/TS projects, could dprint-node ship with it available as well?

I tried passing plugins, based on the dprint docs, but looks like that doesn't work:

  const content = dprint.format("config.json", config, {
    plugins: ["https://plugins.dprint.dev/json-0.15.5.wasm"],
  });

As I got an InvalidArg.

@stephenh stephenh changed the title Ship with dprint json parser Ship with json plugin Aug 26, 2022
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