Write file and automatically format it with your projects prettier config
github.com/sajmoni/write-pretty-file
sajmoni/write-pretty-file