Install with a package manager such as pnpm, yarn or npm.
pnpm add --save-dev prettier @davidwarrington/prettier-config
# or with yarn
yarn add --dev prettier @davidwarrington/prettier-config
# or with npm
npm install --save-dev prettier @davidwarrington/prettier-config
Then create your prettier config.
// prettier.config.js
import config from '@davidwarrigton/prettier-config';
export default config;