David Sherret

Results 448 issues of David Sherret

**Describe the bug** Deno version: 1.3.2 **Input Code** ```ts export interface Preview extends Pick { approximate_member_count: number; approximate_presence_count: number; } ``` **Actual Output** First this: ```ts export interface Preview extends...

bug

Part of the test suite should run dprint against a large collection of "known code". This will allow catching regressions.

From dprint/dprint#66. I had accidentally removed it when removing elsewhere because there was no test for that.

internal

For example: ```ts switch (test) { case 5: return 5; case 6: return 6; case 7: { return 7; } } ```

configuration

For example, given the following: ```ts test && testttttttttttttttttttttttt || aaaaaaaaaaaaaaa && testttttttttttttttttttt; ``` There should be config that formats it like so: ```ts (test && testttttttttttttttttttttttt) || (aaaaaaaaaaaaaaa &&...

configuration

For example: ```ts switch (test) { case 5: return 5; case 6: return 6; case 7: return 7; } ```

enhancement

For example: ```ts prop: { method() { return 5; } }, // or function test() { return 5; } ```

enhancement

See https://github.com/dsherret/dprint/issues/25#issuecomment-529208825 There are other situations where people would like leading commas too. This would be `leadingCommas` (`boolean`) with default `false`.

configuration

This submit button is still here on the deno.land/add_module page after I added a module. Is that intentional? Am I supposed to click it again? ![image](https://user-images.githubusercontent.com/1609021/162526883-80b9167b-3c27-4b13-91f9-8e3d73813471.png)

We should add wasmbuild to the manual https://deno.com/blog/wasmbuild I think this would go under the "Using WebAssembly" section.

enhancement