Prettier code

Just a little recommendation for all the JavaScript developers here.

Use prettier for formatting your JS files!

While browsing repos from steem developers during my research I figured that everyone uses very different formatting rules or even none. This is not an issue as long as you work alone on your projects.
If there is more than one contributor to a project, exchanging formatting rules etc. can become a nightmare.

prettier is an opinionated formatter with a great default style. We use it exclusively at my company. Makes life much easier.
It can also be customized, but then that has to be exchanged too. The default is good enough.

prettier formats all kinds of js and css file type: JavaScript (incl. ES2017), JSX, Flow, TypeScript, CSS, LESS, SCSS

Check it out. Just install: yarn global add prettier or npm i -g prettier.

Steem on..

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center