Format as early as possible
Prettifier is best for catching edge cases. To help you “think in well-formatted code” and minimize unnecessary changes later, try to format your code as early in the development process as possible.
- Configure your code editor to run Prettier each time you save a file.
- Provide your developers a script to run Prettier (as well as other auto-fixes from linters) on the command line when needed.