Added prettier
Hey @rvagg, I know that in #108 we said to add a .editorconfig file, but sadly its options are limited for Javascript (for example, semi-colons). So I opted in for prettier to achieve better results.
I hope this will be still appreciated!
Let me know!
EDIT: Oh, I'm seeing right now that this seems to conflict with Standardjs checks 😳.
It seems that it would be required to use ts-standard to format in the same way also typescript declarations 🤔 What should I do with this PR? Keep it, change to ts-standard o what else?
I'm not familiar with ts-standard unfortunately, I welcome your input on that though. A shame about the .editorconfig options, but maybe standard --fix is good enough for folks with aggressive editor settings.