@betalectic-reusejs/shared-config-prettier-react

1.1.1 • Public • Published

NPM version NPM downloads NPM Publish

Steps to setup React Prettier-Configuration

  1. Add following packages as dev-dependencies
yarn add @betalectic-reusejs/shared-config-prettier-react prettier -D
'or'
yarn add --dev @betalectic-reusejs/shared-config-prettier-react prettier
  1. Add following line to the package.json of your app.
{
  //Some Code
  "prettier": "@betalectic-reusejs/shared-config-prettier-react"
  //Some code
}

That should configure prettier for your project. The package only provides you with configuration for prettier and above steps show the easiest and simplest method to use this configuration. If you want to use some other methods to configure prettier or over ride the configuration pls refer to following link to configure your own prettier settings. https://prettier.io/docs/en/configuration.html

Package Sidebar

Install

npm i @betalectic-reusejs/shared-config-prettier-react

Weekly Downloads

0

Version

1.1.1

License

ISC

Unpacked Size

3.41 kB

Total Files

4

Last publish

Collaborators

  • shrey_dhyani
  • rjvim