David Sherret

Results 804 comments of David Sherret

@aancw no, not yet. dprint-plugin-typescript is not very good at minified files at the moment and it would require maybe a day of investigation and work to fix it. I...

@resolritter thanks for your input! Defaults are important, but I know people are really passionate about how their code looks so these kind of things will always be configurable in...

It would be cool, but in order to be efficient and to do this, it would require some new functionality in the core library. It probably won't happen for a...

@cspotcode that would be great! Yeah, those two options would be good enough for now and I think it could all be done in that function. You could match on...

From https://github.com/denoland/deno/issues/7870 ---- Here are some examples - top is denofmt, bottom is prettier: ### 1 ```tsx foo site {user && } ``` ```tsx foo site {user && ( )}...

I would personally not like this option because while developing I often save the file and with format on save it would be annoying if it keeps removing code while...

Thanks @lazarljubenovic! I appreciate the "prior art" in order to get some ideas 🙂 Right now only member spacing is implemented for enum members. The options are "maintain", "newline", and...

There is also some information on this [here](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-2.html#support-for-mix-in-classes) that could be used to update this section.

This could just type strip or perhaps also transform down to ES6 for compatibility reasons (or maybe some query parameter to specify the target). Unfortunately I don't know anything about...

Another example with `Deno.run` and `run`. ![image](https://user-images.githubusercontent.com/1609021/189983085-648605a6-171f-4198-8335-82eda5eed6ad.png) ![image](https://user-images.githubusercontent.com/1609021/189983119-1d54b28f-9749-47ea-b286-80f23afd87f5.png)