1×
Become a member
to unlock all features
Autoplay

    Configure Prettier to Automatically Format Code

    javascriptJavaScript

    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.