0.0.6 • Published 1 year ago
@johnhodge/prettier-config v0.0.6
@johnhodge/prettier-config
The Prettier config used by John.
Install
NPM
npm install @johnhodge/prettier-config --save-dev
Yarn
yarn add --dev @johnhodge/prettier-config
Configure
Include this at the top of the package.json
file:
{
"name": "some-project",
"prettier": "@johnhodge/prettier-config"
}
Alternatively, you can add this to .prettierrc.js
:
module.exports = {
...require("@johnhodge/prettier-config"),
};
Using the .prettierrc.js
implementation is recommended since it allows you to extend the prettier config.