dprint / dprint-plugin-typescript

TypeScript and JavaScript code formatting plugin for dprint.
https://dprint.dev/plugins/typescript
MIT License
258 stars 57 forks source link

Documentation for custom formatting is missing #682

Closed Stokestack closed 1 week ago

Stokestack commented 1 week ago

The doc here says:

The formatter can be configured in a deno.json file. You can specify custom rules, plugins, and settings to tailor the formatting process to your needs.

But it never says how. The documentation for Dprint has lots of options, which address what I wanted to do. But how do we pass those through to the Deno formatter? I tried including them in deno.json, but deno fmt complained about any options outside of the tiny subset that's documented.

Stokestack commented 1 week ago

Ugh, I thought this was a sub-area of the Deno repo. Closing.