Lucas Duailibe

Results 40 comments of Lucas Duailibe

Is there any direct relation between "class properties" and "constructor arguments" in TypeScript? I don't use TypeScript so I really don't know. I'm aware that sometimes in constructor you want...

Oh cool I didn't know.. in that case, we can discuss if it makes sense to add this, but I agree with @ikatyang we should not treat it differently.

Thanks for the offer! We have considered it in the past, but one restriction we value is being able to install Prettier directly from GitHub: this enables our users to...

@octogonz > Wouldn't these same considerations apply generally to any project that uses any sort of transpiler (Jest, Yarn, Angular, etc.)? Yes, so I'd guess they have a different set...

@ryanwoodcox Prettier doesn't read any ESLint configuration

@ryanwoodcox I think it's pretty clear already in [prettier-eslint's README](https://github.com/prettier/prettier-eslint/blob/master/README.md) and (assuming you're talking about VSCode) in [prettier-vscode README](https://github.com/prettier/prettier-vscode/blob/master/README.md#prettiereslintintegration-default-false---javascript-and-typescript-only)

That's a great idea. I'll start hacking on it and see what I can do with it.

So it seems there's currently no easy way to provide a query based on a "field", like `random:5` in the example you give, but instead only using a prefix. Besides...

Thanks for the suggestions. I'm not that sure if we should hack these things, though. I do like the `random:5` interface (I also can't think of a better one) but...

What I did to fix in my project was moving all statements (`export.foo = foo;`) to the end of the compilation (in `getSuffixCode`). If you think this is an acceptable...