sciactive / pnotify

Beautiful JavaScript notifications with Web Notifications support.
https://sciactive.com/pnotify/
Apache License 2.0
3.65k stars 514 forks source link

automatic code formatting with Prettier #355

Closed micahstubbs closed 4 years ago

micahstubbs commented 5 years ago

automatic code formatting with Prettier

https://prettier.io/

will try out adding Prettier to the project and see if the results are nice.

micahstubbs commented 5 years ago

Prettier got more interesting for HTML-heavy projects like pnotify since it added support for HTML and js inside of HTML script tags a few months back in October 2018 https://github.com/prettier/prettier/pull/5259

hperrin commented 5 years ago

But, it doesn't play nicely with Svelte templates. :(

micahstubbs commented 5 years ago

hhhmmm there is https://github.com/UnwrittenFun/prettier-plugin-svelte

hperrin commented 4 years ago

Merged.