- You can’t force everyone on your project to use the prettier integration for their editor, so let’s add a validation script to verify that prettier has been run on all project files.
- Fortunately for us, Prettier accepts a
--list-different
flag that you can use that will throw an error when code is not up to the standard of your project.