bl icon indicating copy to clipboard operation
bl copied to clipboard

Added prettier

Open alexandercerutti opened this issue 3 years ago • 1 comments

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?

alexandercerutti avatar Oct 18 '22 18:10 alexandercerutti

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.

rvagg avatar Oct 19 '22 06:10 rvagg