3.0.0 • Published 1 year ago

@rivantmedia/prettier-config v3.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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 or yarn 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",
3.0.0

1 year ago

2.0.1

1 year ago