Edit this page

Code reviews

If Prettifier cannot auto-fix changes, for example because they come from a fork outside your GitHub organization, it adds a comment to notify the contributor about your project’s formatting guidelines. Prettifier adds only one such message per pull request, even if later commits contain more formatting problems.

screenshot

You can customize this message in the configuration file:

cannot-prettify-template: >
  Thanks for your contribution and welcome to this project! We format our source
  code using [Prettier](https://prettier.io). Please format your contribution by
  running

      prettier --write .