@nharox/next-prettier-config
v1.2.0
Published
Shared [Prettier](https://prettier.io/) config for [Next.js](https://nextjs.org/) projects.
Downloads
7
Maintainers
Readme
@nharox/next-prettier-config
Shared Prettier config for Next.js projects.
Installation
- Install package as a dev dependency
npm install --save-dev @nharox/next-prettier-config
- Update
package.json
{
// ...
"prettier": "@nharox/next-prettier-config"
}
- Add the following script in your
package.json
{
// ...
"scripts": {
// ...
"format": "prettier --write \"**/*.{ts,tsx}\""
}
}