Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 482 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 482 Bytes

prettier-config-cra

Create react app Prettier config.

Usage

Install:

$ npm i --save-dev prettier-config-cra

Edit package.json:

{
  // ...
  "prettier": "prettier-config-cra"
}

OR if you don’t want to use package.json

Use any of the supported extensions to export a string, e.g. .prettierrc:

"prettier-config-cra"

License

prettier-config-cra is open source software licensed as MIT.