Georgii Dolzhykov

Results 297 comments of Georgii Dolzhykov

Let's do it (https://github.com/prettier/prettier/issues/6024#issuecomment-1216191051) then, shall we?

> in some case Can you show an example?

This is a duplicate of #4424, but at least this issue contains a specific proposal to discuss. The idea of #4424 is that plugins should be able to extend the...

How about bundling printers in one file with parsers for languages that have only one parser? (I didn't read #12144. Sorry if already discussed.)

One solution is that if a function is passed as a plugin it's called with things like `doc` passed as arguments. So these bundles will export functions and the core...

It'd also kind of address https://github.com/prettier/prettier/issues/10156 Plugins wouldn't need to depend on the Prettier module anymore.

I believe this can be solved on the bundler level, without changing the code of printers.

This reminded me of the AMD module format, bundlers know how to do that: ```js define(["doc"], (doc) => { // ... }); ``` This output is very close to what...

Why not drop Node 14?