This package includes the shareable Prettier configuration used by Guestline Scripts.
Please refer to its documentation:
The easiest way to use this configuration is with Guestline Scripts, which includes it by default.
You don’t need to install it separately.
If you want to use this Prettier configuration in a project not built with Guestline Scripts, you can install it with following steps.
First, install this package and Prettier.
npm install --save-dev prettier prettier-config-guestline
Then create a file named .prettierrc.js
with following contents in the root folder of your project:
module.exports = require('prettier-config-guestline');
That's it! You can override the settings from prettier-config-guestline
by editing the .prettierrc.js
file. Learn more about configuring Prettier on the Prettier website.