trivago / prettier-plugin-twig-melody

Code formatting plugin for Prettier which can handle Twig/Melody templates
Apache License 2.0
155 stars 35 forks source link

FR: prettier-ignore lines #9

Closed chasegiunta closed 4 years ago

chasegiunta commented 4 years ago

Since this plugin is very much still a WIP (appreciate all your hard work on this!) if we run across some code blocks/lines that aren't currently working well with prettier-plugin-twig-melody, it would be great to disable those lines with prettier-ignore comments like we can in other languages that prettier supports.

https://prettier.io/docs/en/ignore.html#html

twbartel commented 4 years ago

Hi Chase, thanks for your suggestions and bug reports! I will look into them.

twbartel commented 4 years ago

Hi @chasegiunta, I just published version 0.2.0 which adds prettier-ignore functionality. Have a look when you have time.

chasegiunta commented 4 years ago

This seems to be working great!