lsdsjy/prettier-plugin-stylus

Please add the support for object/hash

Closed this issue · 5 comments

Please add the support for object/hash.I really need it.
I can't understand the functions of "child" and "children" in src/index.ts, so I can't contribute codes.

lsdsjy commented

Hi! child and children are related to a concept named path in prettier. You can learn more about it in this post: https://medium.com/@fvictorio/how-to-write-a-plugin-for-prettier-a0d98c845e70

Though I'm not a native English speaker, and I had some problems reading the passage, I finally add the support for Object/hash and Member.

lsdsjy commented

That's excellent! Would really appreciate it if you open a PR to this repo.

I've already open the PR. #11

lsdsjy commented

Thanks!
prettier-plugin-stylus@0.1.0