Getting started with Prettier: Writing clean concise code

Raphael Ugwu
Jul 30, 2017 · 6 min read
Image for post
Image for post
https://www.flickr.com/photos/khiavdim/2942890819
Image for post
Image for post

“Why do I need Prettier?”

Image for post
Image for post

Getting started with Prettier

Image for post
Image for post
This is from a PC using Linux Mint 18.1. Certain parameters may vary.
Image for post
Image for post

Using Prettier on our files

Image for post
Image for post
The first 30 lines of ‘weather-app.js’ (Its like they put me in a Siberian Prison!)
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

Integrating Prettier into your code editor

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

DailyJS

JavaScript news and opinion.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store