1. 26
    Configure Prettier to Automatically Format Code
    6m 40s

Configure Prettier to Automatically Format Code

Andy Van Slaars
InstructorAndy Van Slaars

Share this video with your friends

Send Tweet

Consistent code format can make a project easier to maintain. What that format is can be largely subjective, but rather than spend a bunch of valuable time "bike shedding" over semi-colons or no semis and spaces vs tab, we should just let the tools handle this. In this lesson we'll configure Prettier to format our code for us.

Abhinay
Abhinay
~ 2 years ago

.prettierignore is not working for me. I added the dist there but it's still running the dist/app.bundle.js, when I run npx prettier --write "**/*.js"