@rivantmedia/prettier-config
v3.0.0
Published
Settings used by devs at Rivant Media for the prettier formatter plugin.
Readme
How to setup our Prettier configuration
We use Prettier (a code formatter for VS Code) to maintain consistency across our codebase, this document covers the installation of our configuration for Prettier.
Prerequisites:
- NodeJS & NPM Installation
- A package.json file in your project using the
npm init,pnpm initoryarn initcommands depending on the package manager.
Installation using NPM
To install the prettier configuration for @rivantmedia, run the following command
$ npm i @rivantmedia/prettier-configIn package.json add this line:
"prettier": "@rivantmedia/prettier-config",Installation using PNPM
To install the prettier configuration for @rivantmedia, run the following command
$ pnpm add @rivantmedia/prettier-configIn package.json add this line:
"prettier": "@rivantmedia/prettier-config",Installation using YARN
To install the prettier configuration for @rivantmedia, run the following command
$ yarn add @rivantmedia/prettier-configIn package.json add this line:
"prettier": "@rivantmedia/prettier-config",