Prettier config
npm install @imaginary-cloud/prettier-configThis package can be used as a stand-alone config or integrated with any linter. If you look to integrate with ESLint for React projects take a look at our configuration eslint-config-react using this Prettier config
npm install prettier @imaginary-cloud/prettier-config
`
How to use
In your package.json add:`
"prettier": "@imaginary-cloud/prettier-config"
`
Under script objects
`
"format": "prettier --write \"{,!(node_modules)/*/}.js\""
``Copyright © 2010-2020 Imaginary Cloud. This library is licensed under the MIT license.
At Imaginary Cloud, we build world-class web & mobile apps. Our Front-end developers and UI/UX designers are ready to create or scale your digital product. Take a look at our website and get in touch! We'll take it from there.