December 2018
Intermediate to advanced
642 pages
15h 5m
English
There's not much to re-installing Prettier, and all we need is a npm command, plus the .prettierrc file we've been working with. For the former, just use the following command:
npm install --save-dev prettier
For configuration, we can use the contents of this .prettierrc file:
{ "tabWidth": 4, "printWidth": 75}
Now, we are set! We can check it's working; let's do that.
Read now
Unlock full access