I'm collaborating on a project and use prettier as my code formatter. The number of collaborators is growing and I just suggested that we install prettier as a dev dependency and set up a config file so that our formatting is consistent. I have two questions about this:
Any help is appreciated. Thanks so much.
What you're describing is the recommended way to use Prettier. See https://prettier.io/docs/en/install.html
To configure different settings for different parts of the project, use the overrides
key in the config file. See https://prettier.io/docs/en/configuration.html#configuration-overrides
If something isn't clear and you still have questions, please write them here.