@rivantmedia/prettier-config
v3.0.0
Published
Settings used by devs at Rivant Media for the prettier formatter plugin.
Downloads
10
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 init
oryarn init
commands depending on the package manager.
Installation using NPM
To install the prettier configuration for @rivantmedia, run the following command
$ npm i @rivantmedia/prettier-config
In 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-config
In 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-config
In package.json add this line:
"prettier": "@rivantmedia/prettier-config",