prettier-plugin-multiline-arrays icon indicating copy to clipboard operation
prettier-plugin-multiline-arrays copied to clipboard

Is there anything like this for imports and object destructuring?

Open ghost opened this issue 2 years ago • 1 comments

I wish Prettier would just keep my line breaks for destructures and import statements.

Does anyone know if there's a plugin that does that?

Alternatively, could this plugin be modified to do it?

Thanks!

ghost avatar Feb 15 '23 20:02 ghost

I wish Prettier would just keep my line breaks for destructures and import statements.

I totally agree

Does anyone know if there's a plugin that does that?

Not that I know of

could this plugin be modified to do it?

Probably not the most in scope for this plugin, but if someone wants to build it in I'd review the code.

electrovir avatar Feb 16 '23 12:02 electrovir