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

YAML compatibility

Open bdovaz opened this issue 3 years ago • 3 comments

@electrovir is it compatible? it appears not:

https://github.com/electrovir/prettier-plugin-multiline-arrays/blob/main/src/index.ts#L21

Can it be made compatible?

bdovaz avatar Nov 25 '22 13:11 bdovaz

I haven't tried this package with YAML. It expect it won't work, but you never know! I suspect that to make it compatible would require a new code flow just for yaml because of how specific the code is.

electrovir avatar Nov 26 '22 13:11 electrovir

But then, are you going to review and implement it? My TypeScript knowledge is null, otherwise I would try to do a PR.

Thank you, for your work!

bdovaz avatar Nov 27 '22 15:11 bdovaz

At this time I have no plan to support other languages, sorry 😕

electrovir avatar Nov 28 '22 19:11 electrovir