How to properly set up Prettier in less than 2 minutes

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • prettier-config

    💜 My personal Prettier config & workflow

  • N.B: A summary of all the commands used in this guide can be found in my dedicated GitHub repo, this guide is just here to explain the different steps.

  • husky

    Git hooks made easy 🐶 woof!

  • By using husky and pretty-quick, you can automatically force every developer to format all the changed files (and nothing more) every time they commit.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • prettier

    Prettier is an opinionated code formatter.

  • I’ve been using Prettier for more than 5 years now, and every time I create a new project or join an existing one, I ask myself the same questions:

  • pretty-quick

    ⚡ Get Pretty Quick

  • By using husky and pretty-quick, you can automatically force every developer to format all the changed files (and nothing more) every time they commit.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts