Spotify's base Prettier config.
yarn add --dev @spotify/prettier-config
After installing, update your project's prettier.config.js
file to import the rule sets you want:
module.exports = {
...require('@spotify/prettier-config'),
// your overrides here
};
Read the Prettier config docs for more information.