Note

This post is a thought. It's a short note that I make about someone else's content online. Learn more about the process thoughts

Here's my thought on ๐Ÿ’ญ How to Format All Files in a Directory with Prettier | by Dr. Derek Austin ๐Ÿฅณ | Level Up Coding


Use prettier to format all files in a directory. By default prettier does not write, it just echos out the format that it would do. Give it the --write and it will write the changes to the files.


prettier --write .

I just used this on my thoughts repo.


prettier --write templates

This post was a thought by Waylon Walker see all my thoughts at https://waylonwalker.com/thoughts